forked from cartsnitch/cartsnitch
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:
committed by
cartsnitch-ci[bot]
parent
6717e105f4
commit
2946ac8dc5
@@ -60,7 +60,7 @@ jobs:
|
|||||||
- name: Install Chromium for Lighthouse
|
- name: Install Chromium for Lighthouse
|
||||||
run: |
|
run: |
|
||||||
npm install -g playwright
|
npm install -g playwright
|
||||||
npx playwright install chromium
|
npx playwright install --with-deps chromium
|
||||||
- name: Run Lighthouse CI
|
- name: Run Lighthouse CI
|
||||||
run: |
|
run: |
|
||||||
CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1)
|
CHROME_PATH=$(find /home/runner/.cache/ms-playwright -name chrome -type f 2>/dev/null | head -1)
|
||||||
|
|||||||
Reference in New Issue
Block a user