Skip to content

GitHub App

Lighthouse CI

GitHub App

Lighthouse CI

Lighthouse CI posts the results of your Lighthouse runs in CI to PRs as separate status checks.

screenshot of GitHub status checks for Lighthouse CI

Quick Start

  1. Copy the token provided on the authorization confirmation page and add it to your build environment as LHCI_GITHUB_APP_TOKEN.
  2. Run Lighthouse CI in your build environment and configure an upload target (temporary-public-storage is free to use and provides publicly accessible links to your Lighthouse reports from the "Details" links in GitHub).
  3. Stay off the rocks with Lighthouse in your CI! 🔦 🚢

.travis.yml

language: node_js
node_js:
  - 10 # use Node 10 LTS or later
before_install:
  - npm install -g @lhci/cli
script:
  - npm run build # build your site
  - lhci autorun --rc-overrides.upload.target=temporary-public-storage # run lighthouse CI
addons:
  chrome: stable # make sure you have Chrome available

Documentation

Developer

Lighthouse CI is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

Report abuse
You can’t perform that action at this time.