feat(ci): add Lighthouse CI configuration

This commit is contained in:
cartsnitch-engineer[bot]
2026-03-30 18:55:17 +00:00
committed by cartsnitch-ci[bot]
parent c707caea41
commit 2444219f75
+20
View File
@@ -0,0 +1,20 @@
{
"ci": {
"collect": {
"startServerCommand": "npm run preview",
"url": ["http://localhost:4173/"],
"numberOfRuns": 1
},
"assert": {
"preset": "lighthouse:no-pwa",
"assertions": {
"categories:performance": ["warn", { "minScore": 0.7 }],
"categories:accessibility": ["error", { "minScore": 0.9 }],
"categories:best-practices": ["warn", { "minScore": 0.8 }]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}