Skip to content

Commit d10a4c8

Browse files
pRizzclaude
andcommitted
fix: install Playwright browsers from lockfile-pinned version in CI
bunx playwright install (without lockfile context) resolved the latest Playwright from npm, downloading chromium v1208 browsers. But the test runner used @playwright/test@1.57.0 from the lockfile, which expected chromium_headless_shell-1200. Fix by running bun install first so bunx resolves the pinned version. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 8c0ab11 commit d10a4c8

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,8 +341,10 @@ jobs:
341341
restore-keys: ${{ runner.os }}-playwright-
342342

343343
- name: Install Playwright browsers
344-
working-directory: packages/opencode/packages/app
345-
run: bunx playwright install --with-deps
344+
working-directory: packages/opencode
345+
run: |
346+
bun install --frozen-lockfile --ignore-scripts
347+
bunx --bun playwright install --with-deps
346348
env:
347349
PLAYWRIGHT_BROWSERS_PATH: ${{ github.workspace }}/.cache/ms-playwright
348350

0 commit comments

Comments
 (0)