Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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

License

Notifications You must be signed in to change notification settings

uxuf/lighthouse-ci

 
 

Repository files navigation

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

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.

About

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

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.7%
  • CSS 8.8%
  • Other 0.5%