CI: time-box the web job and fetch Playwright's Chromium with its system deps
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:
1 file changed
+6
-1
@@ -12,13 +12,17 @@ permissions:
|
||||
jobs:
|
||||
web:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 20
|
||||
concurrency:
|
||||
group: web-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
submodules: true
|
||||
- uses: prefix-dev/setup-pixi@v0.9.3
|
||||
- name: Fetch Playwright
|
||||
run: pixi run install-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
|
||||
- name: Build the wasm and run the browser test
|
||||
run: pixi run test
|
||||
- name: Check the committed web/app.wasm is up to date
|
||||
@@ -26,6 +30,7 @@ jobs:
|
||||
|
||||
apk:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
- uses: actions/setup-java@v5
|
||||
|
||||
Reference in new issue
Block a user