Lighthouse CI is a set of commands that make 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 install -g @lhci/cli@0.3.0-alpha.0
script:
- npm run build # build your site
- lhci autorun # run lighthouse CI
addons:
chrome: stable # make sure you have Chrome available