forked from cartsnitch/cartsnitch
46caec81c6
- 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>
21 lines
551 B
JSON
21 lines
551 B
JSON
{
|
|
"ci": {
|
|
"collect": {
|
|
"staticDistDir": "./dist",
|
|
"url": ["http://localhost:4173/"],
|
|
"numberOfRuns": 1
|
|
},
|
|
"assert": {
|
|
"preset": "lighthouse:no-pwa",
|
|
"assertions": {
|
|
"categories:performance": ["warn", { "minScore": 0.5 }],
|
|
"categories:accessibility": ["error", { "minScore": 0.7 }],
|
|
"categories:best-practices": ["warn", { "minScore": 0.8 }],
|
|
"categories:seo": ["warn", { "minScore": 0.7 }]
|
|
}
|
|
},
|
|
"upload": {
|
|
"target": "temporary-public-storage"
|
|
}
|
|
}
|
|
} |