Run Lighthouse in a CI Pipeline using lighthouse-ci

Lighthouse CI is a set of commands that make continuously running, asserting, saving, and retrieving Lighthouse results as easy as possible.

npm install -g @lhci/[email protected]
lhci autorun || echo "LHCI failed!"

Comes with default configurations for Travis, GitHub Actions, Circle CI, GitLab CI, and Jenkins.


Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.