Add Lighthouse CI and expand frontend CI/CD
Some checks failed
Build, Test & Push Frontend / quality-check (pull_request) Failing after 48s
Build, Test & Push Frontend / docker (pull_request) Has been skipped

Replace the previous frontend workflow with an expanded Build, Test & Push workflow. Adds a quality-check job (runs on push and PRs to main) that sets up Node.js, installs deps, runs lint/type checks, unit tests (ChromeHeadless), production build and runs LHCI. The docker job now depends on the quality-check job and only runs on pushes to main. Added lighthouserc.json and ignored .lighthouseci, relaxed two ESLint rules (@typescript-eslint/no-inferrable-types and no-explicit-any), and updated package.json (and lock) to include LHCI tooling.
This commit is contained in:
2026-02-07 10:32:00 +01:00
parent 70ed047059
commit 0e520ead26
6 changed files with 3148 additions and 4 deletions

3
.gitignore vendored
View File

@@ -41,3 +41,6 @@ __screenshots__/
# System files
.DS_Store
Thumbs.db
# Lighthouse
.lighthouseci/