Skip to content
Automate running Lighthouse for every commit, viewing the changes, and preventing regressions
JavaScript CSS Other
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs feat(cli): support custom listening pattern for startServerCommand (#140 Dec 6, 2019
packages feat(cli): warn when using chromeFlags and puppeteerScript (#148) Dec 10, 2019
scripts fix(server): use 12 characters for compare short ID Nov 11, 2019
types feat(cli): support custom listening pattern for startServerCommand (#140 Dec 6, 2019
.browserslistrc refactor: split package into cli and utils Sep 3, 2019
.eslintrc.js chore: add required dependencies Apr 9, 2019
.eslintrc.ui.js refactor: restructure layout to allow pages to inject into header Aug 21, 2019
.gitignore refactor(gitignore): ignore node_modules folder Dec 3, 2019
.prettierrc chore: add required dependencies Apr 9, 2019
.travis.yml feat(cli): support Windows (#79) Nov 16, 2019
CONTRIBUTING.md initial commit Apr 8, 2019
LICENSE initial commit Apr 8, 2019
README.md docs(README): add community guides section (#120) Dec 7, 2019
babel.config.js refactor: split package into cli and utils Sep 3, 2019
jest.config.js feat(cli): support Windows (#79) Nov 16, 2019
lerna.json chore: move build scripts down to child packages Sep 3, 2019
lighthouserc.json docs: improved common misconceptions in getting started flow Nov 14, 2019
package.json feat(config): add yaml support for config file Dec 3, 2019
tsconfig.json refactor: split server package out from cli Sep 3, 2019
yarn.lock feat(config): add yaml support for config file Dec 3, 2019

README.md

Lighthouse CI

Overview

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

Screenshot of the Lighthouse CI server diff UI

Quick Start

.travis.yml

language: node_js
node_js:
  - 10 # use Node 10 LTS or later
before_install:
  - npm install -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

Related Projects

  • 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.

Community Guides

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.

You can’t perform that action at this time.