Feature
Uploads from any CI pipeline
Run npx @lhci/cli autorun with three secrets and each pull request uploads its report.
A repo’s lighthouserc.js sets upload.target to lhci, the server URL, the Build token and upload.basicAuth. The CI step runs npx @lhci/cli autorun with LHCI_BUILD_TOKEN, LHCI_BASIC_AUTH_USERNAME and LHCI_BASIC_AUTH_PASSWORD.
With GITHUB_TOKEN set on the upload step, Lighthouse CI posts its score and a comparison link on the pull request instead of only in the Actions log.
More features
All features →- 01
Score history in Postgres
Every uploaded Build and its Runs are stored in a Postgres database you own, so trends survive redeploys.
- 02
One gate for every route
Server basicAuth protects the dashboard, registration and the upload endpoint with one username and password.
- 03
Registration with two tokens
lhci-toolkit register creates a Project and prints its Build token for CI and an Admin token you keep.