one more attempt
This commit is contained in:
@ -68,6 +68,9 @@
|
||||
},
|
||||
"scripts": {
|
||||
"start": "vite",
|
||||
"start:playwright-ci:unix": "GENERATE_PLAYWRIGHT_COVERAGE=true yarn start",
|
||||
"start:playwright-ci:win": "set GENERATE_PLAYWRIGHT_COVERAGE=true && yarn start",
|
||||
"start:playwright-ci": "sh -c 'if [ \"$OS\" = \"Windows_NT\" ]; then yarn start:win; else yarn start:unix; fi'",
|
||||
"start:prod": "vite preview --port=3000",
|
||||
"serve": "vite serve --port=3000",
|
||||
"build": "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source \"$HOME/.cargo/env\" && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -y && yarn build:wasm && vite build",
|
||||
|
||||
@ -93,7 +93,7 @@ export default defineConfig({
|
||||
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: 'yarn start',
|
||||
command: 'yarn start:playwright-ci',
|
||||
// url: 'http://127.0.0.1:3000',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user