chore: add professional tooling (husky, lint-staged, playwright, lighthouse, eslint)
Deploy / release (push) Skipped
Deploy / deploy (push) Failing after 6s

This commit is contained in:
openhands committed 2026-07-21 23:36:54 +02:00
1 parent 968ca15c27
commit 57f85f5453
5 files changed
+112 -61

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
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 }],
},
},
},
};