Lighthouse CI posts the results of your Lighthouse runs in CI to PRs as separate status checks.
- Copy the token provided on the authorization confirmation page and add it to your build environment as
- Run Lighthouse CI in your build environment and configure an upload target (
temporary-public-storageis free to use and provides publicly accessible links to your Lighthouse reports from the "Details" links in GitHub).
- Stay off the rocks with Lighthouse in your CI!
⛰ 🔦 🚢
language: node_js node_js: - 10 # use Node 10 LTS or later before_install: - npm install -g @lhci/cli script: - npm run build # build your site - lhci autorun --rc-overrides.upload.target=temporary-public-storage # run lighthouse CI addons: chrome: stable # make sure you have Chrome available