forked from cartsnitch/cartsnitch
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:
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"ci": {
|
||||
"collect": {
|
||||
"startServerCommand": "npm run preview",
|
||||
"staticDistDir": "./dist",
|
||||
"url": ["http://localhost:4173/"],
|
||||
"numberOfRuns": 1
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user