diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index af0f74ee..eaed76c5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 diff --git a/playwright.config.ts b/playwright.config.ts index c0158da9..03e3b6ce 100644 --- a/playwright.config.ts +++ b/playwright.config.ts @@ -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, - }, + }]), ], })