forked from cartsnitch/cartsnitch
fix(lighthouse): set LHCI_CHROME_PATH and lower thresholds per CTO feedback
- Set LHCI_CHROME_PATH to Playwright chromium binary path so LHCI healthcheck can find Chrome - Lower thresholds: performance=0.5, accessibility=0.7 (error), seo=0.7 - SEO threshold was missing, now added
This commit is contained in:
committed by
cartsnitch-ci[bot]
parent
7b9194a152
commit
0bb4b7d183
@@ -62,6 +62,8 @@ jobs:
|
||||
npm install -g playwright
|
||||
npx playwright install chromium
|
||||
- name: Run Lighthouse CI
|
||||
env:
|
||||
LHCI_CHROME_PATH: /home/runner/.cache/ms-playwright/chromium-1208/chrome-linux/chrome
|
||||
run: |
|
||||
npm install -g @lhci/cli
|
||||
lhci autorun
|
||||
|
||||
Reference in New Issue
Block a user