Lighthouse CI is a set of commands that make continuously running, asserting, saving, and retrieving Lighthouse results as easy as possible.
- Getting Started
- Troubleshooting / FAQs
- CLI Documentation
- Assertions Documentation
- Server Documentation
- Versioning Policy
.travis.yml
language: node_js
node_js:
- 10 # use Node 10 LTS or later
before_install:
- npm i
65CA
nstall -g @lhci/cli@0.3.x
script:
- npm run build # build your site
- lhci autorun # run lighthouse CI
addons:
chrome: stable # make sure you have Chrome available
-
Lighthouse CI GitHub Action - Automatically run Lighthouse CI on every PR with GitHub Actions, no infrastructure required.
-
Learning Lighthouse CI - A minimal example repo that you can use as a template when starting from scratch, offers a beginner-friendly quickstart guide using create-react-app.
A collection of unofficial blog posts, tutorials, and guides written by the community on using Lighthouse CI.
NOTE: This is not official documentation. You're encouraged to familiarize yourself with Lighthouse CI and read through Getting Started before continuing.
- Integerate Lighthouse CI for static website generator - An article on integrating Lighthouse CI with static website generators like Gatsby, Jekyll, etc.