roderickhsiao / lighthouse-ci

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is in early alpha. It is available for testing only.

Do not rely on this for production workloads.


Lighthouse CI

Overview

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

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.0-alpha.0
script:
  - npm run build # build your site
  - lhci autorun # run lighthouse CI
addons:
  chrome: stable # make sure you have Chrome available

About

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

License:Apache License 2.0


Languages

Language:JavaScript 90.7%Language:CSS 8.8%Language:Shell 0.3%Language:HTML 0.2%