mirror of
https://github.com/zen-browser/www.git
synced 2025-07-07 17:05:32 +02:00
fix(playwright.config): adjust web server command for CI environment
This commit is contained in:
parent
056ef53172
commit
ad9f27b220
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ export default defineConfig({
|
|||
|
||||
/* Run your local dev server before starting the tests */
|
||||
webServer: {
|
||||
command: 'npm run dev',
|
||||
command: process.env.CI ? 'npm run start' : 'npm run dev',
|
||||
url: 'http://127.0.0.1:3000',
|
||||
reuseExistingServer: !process.env.CI,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue