Commit 628cc63
fix: install Playwright browsers from lockfile-pinned version in CI
bunx (even with --bun) always downloads a fresh playwright package from
npm, ignoring node_modules/.bin/. This caused a version mismatch:
browsers were downloaded for the latest Playwright (chromium v1208) but
@playwright/test@1.57.0 from the lockfile expected chromium v1200.
Switch to npx which checks node_modules/.bin/ first and invokes the
locally-installed playwright binary, respecting the lockfile pin.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 8c0ab11 commit 628cc63
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
341 | 341 | | |
342 | 342 | | |
343 | 343 | | |
344 | | - | |
345 | | - | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
346 | 348 | | |
347 | 349 | | |
348 | 350 | | |
| |||
0 commit comments