39

GitHub - GoogleChrome/lighthouse-ci: Automate running Lighthouse for every commi...

 4 years ago
source link: https://github.com/GoogleChrome/lighthouse-ci
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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/[email protected]
script:
  - npm run build # build your site
  - lhci autorun # run lighthouse CI
addons:
  chrome: stable # make sure you have Chrome available

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK