github.com-GoogleChrome-lighthouse-ci_-_2019-11-30_10-54-56

github.com-GoogleChrome-lighthouse-ci_-_2019-11-30_10-54-56

Posted by

Download
ITEM TILE – File Size: 8.6K

Automate running Lighthouse for every commit, viewing the changes, and preventing regressions

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

yamllanguage: node_jsnode_js: - 10 # use Node 10 LTS or laterbefore_install: - npm install -g @lhci/cli@0.3.xscript: - npm run build # build your site - lhci autorun # run lighthouse CIaddons: 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.

To restore the repository download the bundle

wget https://archive.org/download/github.com-GoogleChrome-lighthouse-ci_-_2019-11-30_10-54-56/GoogleChrome-lighthouse-ci_-_2019-11-30_10-54-56.bundle

and run:

 git clone GoogleChrome-lighthouse-ci_-_2019-11-30_10-54-56.bundle 

Source: https://github.com/GoogleChrome/lighthouse-ci
Uploader: GoogleChrome
Upload date: 2019-11-30