CI: fetch Playwright's Chromium with the runner's Node 22

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011TQdaz3C1f3xEJM6PFzWE6
This commit is contained in:
Claude committed 2026-10-21 21:11:59 +00:00
1 parent b3c0d7ee10
commit 4665afb4cb
1 file changed
+8 -1
+8 -1
View File
@@ -21,8 +21,15 @@ jobs:
with: with:
submodules: true submodules: true
- uses: prefix-dev/setup-pixi@v0.9.3 - uses: prefix-dev/setup-pixi@v0.9.3
# Playwright's browser download hangs while unpacking under pixi's Node 26, so fetch
# Chromium with the runner's own Node; the test itself still runs in the pixi env.
- uses: actions/setup-node@v5
with:
node-version: 22
- name: Fetch Playwright - name: Fetch Playwright
run: pixi run npm install --no-save --no-package-lock playwright@1.56.1 && pixi run ./node_modules/.bin/playwright install --with-deps chromium run: |
npm install --no-save --no-package-lock playwright@1.56.1
./node_modules/.bin/playwright install --with-deps chromium
- name: Build the wasm and run the browser test - name: Build the wasm and run the browser test
run: pixi run test run: pixi run test
- name: Check the committed web/app.wasm is up to date - name: Check the committed web/app.wasm is up to date