forked from cartsnitch/cartsnitch
dc15a72144
- 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
21 lines
565 B
JSON
21 lines
565 B
JSON
{
|
|
"ci": {
|
|
"collect": {
|
|
"startServerCommand": "npm run preview",
|
|
"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"
|
|
}
|
|
}
|
|
} |