ci(lighthouse): add jenkins lighthouse automated audit
Some checks failed
Portfolio/pipeline/head There was a failure building this commit

This commit is contained in:
2026-01-12 11:08:43 +01:00
parent c270b631dd
commit 330c96e5a2
3 changed files with 43 additions and 3 deletions

View File

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