@chengyixu/lighthouse-ci-cli
v1.0.1
Published
Fast web performance and accessibility pre-flight checks for CI pipelines - no Chrome needed
Maintainers
Readme
lighthouse-ci-cli
Fast web performance and accessibility pre-flight checks for CI pipelines — no Chrome needed. Zero dependencies.
Install
npm install -g lighthouse-ci-cli
# or use directly
npx lighthouse-ci-cli https://example.comUsage
# Run performance pre-flight check
lighthouse-ci-cli https://example.com
# Set minimum score thresholds
lighthouse-ci-cli https://example.com --performance 80 --accessibility 90
# Check multiple URLs
lighthouse-ci-cli https://example.com https://example.com/about
# Output full JSON report
lighthouse-ci-cli https://example.com --json
# Use a config file with URL list and thresholds
lighthouse-ci-cli --config lhci.jsonFeatures
- Checks performance, accessibility, best-practices, and SEO scores
- Configurable pass/fail thresholds per category
- CI-friendly exit codes (non-zero on threshold breach)
- No Chrome or Puppeteer required
- Supports multiple URL checks in one run
- Zero external dependencies
