Skip to content

Commit 8bb8e35

Browse files
fi3eworkampcode-com
andcommitted
fix(ci): use pnpm exec for playwright install to match lockfile version
`pnpm dlx playwright install` pulls the latest playwright CLI, which may download a different chromium revision than the one expected by the project's locked playwright version. This caused browser-related rstest examples to fail when the latest playwright (chromium v1217) diverged from the locked playwright@1.58.1 (chromium v1208). Switch to `pnpm exec playwright install --with-deps chromium` so the project's own playwright binary is used to download the matching browser. Amp-Thread-ID: https://ampcode.com/threads/T-019d4701-dfdb-73c6-a876-29ab299f63cf Co-authored-by: Amp <amp@ampcode.com>
1 parent d836921 commit 8bb8e35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
run: pnpm install
3333

3434
- name: Install Playwright browsers
35-
run: pnpm dlx playwright install chromium
35+
run: pnpm exec playwright install --with-deps chromium
3636

3737
- name: Build Rspack
3838
run: |

0 commit comments

Comments
 (0)