From 1e427a7fc33b0bd40d9da419cc1223fa10bfd797 Mon Sep 17 00:00:00 2001 From: "cartsnitch-engineer[bot]" <269717931+cartsnitch-engineer[bot]@users.noreply.github.com> Date: Mon, 30 Mar 2026 18:55:17 +0000 Subject: [PATCH] feat(ci): add Lighthouse CI configuration --- lighthouserc.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lighthouserc.json diff --git a/lighthouserc.json b/lighthouserc.json new file mode 100644 index 0000000..be6793d --- /dev/null +++ b/lighthouserc.json @@ -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" + } + } +} \ No newline at end of file