Skip to content

Commit e9d9fe8

Browse files
committed
fix(ci): run deploy tests under xvfb for headed extension e2e
Extension e2e now launches Chromium in headed mode so extension service workers initialize reliably. In GitHub Actions, that requires an X server. Run the deploy test job via xvfb-run so headed Playwright sessions have a virtual display, while keeping browser installation apt-free (playwright install chromium).
1 parent 93557d0 commit e9d9fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ jobs:
301301
run: pnpm db:generate
302302

303303
- name: Run tests
304-
run: pnpm test
304+
run: xvfb-run -a pnpm test
305305

306306
build:
307307
needs: [resolve-target, decide-deploy]

0 commit comments

Comments
 (0)