fix(ci): split E2E jobs and support skipping app server via E2E_SKIP_APP_SERVER

This commit is contained in:
yiling
2026-07-10 19:41:31 +08:00
parent 8d23d8b1c3
commit 4e9fae96b1
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -87,6 +87,8 @@ jobs:
run: bunx playwright install --with-deps ${{ matrix.project }}
- name: Run video player harness tests
env:
E2E_SKIP_APP_SERVER: true
run: bun run test:e2e --project=harness-${{ matrix.project }}
- name: Upload Playwright report
+2 -2
View File
@@ -97,11 +97,11 @@ export default defineConfig({
reuseExistingServer: !process.env.CI,
timeout: 120_000,
},
{
...(process.env.E2E_SKIP_APP_SERVER === 'true' ? [] : [{
command: 'bun run apps/web/e2e/serve.ts',
url: 'http://localhost:5200',
reuseExistingServer: !process.env.CI,
timeout: 120_000,
},
}]),
],
})