From f6f2dba9e0e396a99fed200923acc8640ff0fd76 Mon Sep 17 00:00:00 2001 From: Tuan-Dat Tran Date: Fri, 20 Feb 2026 17:25:38 +0100 Subject: [PATCH] feat(ci): add lighthouse ci configuration --- .lighthouserc.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .lighthouserc.json diff --git a/.lighthouserc.json b/.lighthouserc.json new file mode 100644 index 0000000..3a1faa6 --- /dev/null +++ b/.lighthouserc.json @@ -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" + } + } +}