We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4229b8 commit 81a7181Copy full SHA for 81a7181
.github/workflows/playwright.yml
@@ -15,6 +15,8 @@ jobs:
15
node-version: lts/*
16
- name: Install dependencies
17
run: npm ci
18
+ - name: Build app
19
+ run: npm run build
20
- name: Install Playwright Browsers
21
run: npx playwright install --with-deps
22
- name: Run unit and E2E tests
playwright.config.ts
@@ -60,7 +60,9 @@ export default defineConfig({
60
],
61
62
webServer: {
63
- command: 'npm run dev',
+ command: process.env.CI
64
+ ? 'npm run preview -- --port=5173'
65
+ : 'npm run dev',
66
url: 'http://localhost:5173',
67
timeout: 120 * 1000,
68
reuseExistingServer: !process.env.CI,
0 commit comments