feat(ci): add lighthouse ci configuration

This commit is contained in:
Tuan-Dat Tran
2026-02-20 17:25:38 +01:00
parent 278082d322
commit f6f2dba9e0

18
.lighthouserc.json Normal file
View File

@@ -0,0 +1,18 @@
{
"ci": {
"collect": {
"url": ["http://localhost:4173/cv/"],
"numberOfRuns": 3
},
"assert": {
"assertions": {
"categories:performance": ["error", { "minScore": 0.8 }],
"categories:accessibility": ["warn", { "minScore": 0.9 }],
"categories:best-practices": ["warn", { "minScore": 0.9 }]
}
},
"upload": {
"target": "temporary-public-storage"
}
}
}