mirror of
https://github.com/zen-browser/www
synced 2026-04-25 17:14:56 +02:00
fix(playwright.config): adjust web server command for CI environment
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user