Files
EpicNext-Cms/lighthouserc.json
T
openhands 57f85f5453
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 6s
chore: add professional tooling (husky, lint-staged, playwright, lighthouse, eslint)
2026-07-21 23:36:54 +02:00

21 lines
674 B
JSON

module.exports = {
ci: {
collect: {
url: ["http://localhost:3000"],
numberOfRuns: 3,
},
assert: {
preset: "lighthouse:no-pwa",
assertions: {
"categories:performance": ["error", { minScore: 0.9 }],
"categories:accessibility": ["error", { minScore: 0.9 }],
"categories:best-practices": ["error", { minScore: 0.9 }],
"categories:seo": ["error", { minScore: 0.8 }],
"first-contentful-paint": ["error", { maxNumericValue: 2000 }],
"largest-contentful-paint": ["error", { maxNumericValue: 2500 }],
"cumulative-layout-shift": ["error", { maxNumericValue: 0.1 }],
},
},
},
};