d18ada4ee7
Docker Publish / docker (web, apps/web/Dockerfile, web) (push) Failing after 0s
Docker Publish / docker (api, apps/api/Dockerfile, api) (push) Failing after 1s
Publish Extension / detect-version (push) Has been skipped
Publish Extension / submit (push) Has been cancelled
18 lines
375 B
JavaScript
18 lines
375 B
JavaScript
import { spawn } from 'node:child_process'
|
|
|
|
const child = spawn('pnpm', ['run', 'dev'], {
|
|
cwd: new URL('..', import.meta.url),
|
|
env: {
|
|
...process.env,
|
|
VITE_FORCE_UPDATE_NOTICE: '1',
|
|
VITE_FORCE_CURRENT_VERSION: '1.3.0',
|
|
VITE_FORCE_LATEST_VERSION: '1.3.10'
|
|
},
|
|
shell: true,
|
|
stdio: 'inherit'
|
|
})
|
|
|
|
child.on('exit', (code) => {
|
|
process.exit(code ?? 0)
|
|
})
|