fix(lighthouse): use staticDistDir, drop Playwright dependency

- lighthouserc.json: replace startServerCommand:npm-run-preview
  with staticDistDir:./dist so LHCI serves files directly
- CI workflow: remove Playwright/Chromium install step and
  LHCI_CHROME_PATH env var (LHCI bundles its own Puppeteer)
- LHCI now uses its built-in static server + bundled Chromium

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Barcode Betty
2026-03-30 19:29:42 +00:00
committed by Barcode Betty
parent dc15a72144
commit 46caec81c6
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
{
"ci": {
"collect": {
"startServerCommand": "npm run preview",
"staticDistDir": "./dist",
"url": ["http://localhost:4173/"],
"numberOfRuns": 1
},