fix(lighthouse): install Chromium system deps via --with-deps

Playwright Chromium binary was missing libnspr4.so and other
system libraries. Use `npx playwright install --with-deps chromium`
to install Chromium along with all required system dependencies.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Barcode Betty
2026-03-30 19:39:34 +00:00
committed by Barcode Betty
parent 6636b28472
commit 7942d3e9c9
+1 -1
View File
@@ -74,7 +74,7 @@ jobs:
- name: Install Chromium for Lighthouse
run: |
npm install -g playwright
npx playwright install chromium
npx playwright install --with-deps chromium
- name: Run Lighthouse CI
run: |
CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1)