github GoogleChromeLabs/lighthousebot 0.1.0

latest release: 0.2.0
5 years ago

The hosted ci server has been updated with a breaking change. The --score=96 flag has been removed in favor of individual score thresholds for each category.

Instead of this:

npm run lh -- --score=96 https://staging.example.com

Pass a min score per category (--pwa,seo,perf,a11y,bp):

npm run lh -- --pwa=96 --perf=95 https://staging.example.com

If no category score flags are passed, the PR passes regardless of scores.

See https://github.com/ebidel/lighthouse-ci#3-call-lighthouse-ci for more information on the updates.

Important: if you need the previous semantics, the old server is still up and running. To use it set the LIGHTHOUSE_CI_HOST env variable to https://2018-10-06-dot-lighthouse-ci.appspot.com/ in the Travis settings menu .

Don't miss a new lighthousebot release

NewReleases is sending notifications on new releases.