ci: install playwright OS deps with --with-deps
Chromium needs libnspr4/libnss/etc; the runner image doesn't include them. The runner runs as root in the container, so apt-installing via --with-deps should work. If permissions block, switch the job container to mcr.microsoft.com/playwright instead.
This commit is contained in:
@@ -93,7 +93,7 @@ jobs:
|
||||
|
||||
- name: Install Playwright browsers
|
||||
id: playwright_install
|
||||
run: pnpm exec playwright install chromium
|
||||
run: pnpm exec playwright install --with-deps chromium
|
||||
|
||||
- name: Run Playwright e2e
|
||||
id: e2e
|
||||
|
||||
Reference in New Issue
Block a user