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:
Stockboy Steve
2026-03-30 19:23:57 +00:00
committed by cartsnitch-ci[bot]
parent 7b9194a152
commit 0bb4b7d183
2 changed files with 6 additions and 3 deletions
+2
View File
@@ -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