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 cartsnitch-ci[bot]
parent 6717e105f4
commit 2946ac8dc5
+1 -1
View File
@@ -60,7 +60,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)