feat(ci): add automated Lighthouse audit pipeline
All checks were successful
Portfolio/pipeline/head This commit looks good

This commit is contained in:
2026-01-12 18:07:45 +01:00
parent ee13b191c3
commit 0c786100f2
6 changed files with 106 additions and 3 deletions

View File

@@ -11,6 +11,24 @@ services:
networks:
- reverse-proxy
lighthouse-audit:
profiles:
- audit
image: zenika/alpine-chrome:${ZENIKA_VERSION}
container_name: lighthouse-audit
user: "0:0"
volumes:
- audit_dist:/app/dist
- audit_reports:/app/.lighthouseci
environment:
- CHROME_PATH=/usr/bin/chromium-browser
working_dir: /app
command: npx @lhci/cli@${LHCI_VERSION} collect --config=/app/dist/audit-config.cjs
volumes:
audit_dist:
audit_reports:
networks:
reverse-proxy:
external: true