actions-marketplace-validations/Lighthouse CI Compare Action - compatible with LHCI self-host server
Compare two Lighthouse CI builds and create an object and a Markdown Table with the differences.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| links-filepath | The location of the links.json file generated by Lighthouse CI. | yes | .lighthouseci/links.json |
| base-url | The base URL of your lighthouse ci server, for example https://your-lhci-server.com/v1. | yes | — |
| project-id | The project ID of your Lighthouse CI project. This is a GUID. | yes | — |
| current-commit-sha | The current commit SHA. | yes | — |
| should-fail-build | Tells the action if it should fail in case of any error or not. | — | false |
| basic-auth-username | The username for basic authentication, if your Lighthouse CI server requires it. | — | — |
| basic-auth-password | The password for basic authentication, if your Lighthouse CI server requires it. | — | — |
Outputs
| name | description |
|---|---|
| markdown | Markdown explanations and comparison result tables |
| comparedMetrics | An object with the results, in case you want to use it for something else. |
| status | Set to "success" if the action ran successfully or "failure" if any of the queries or the markdown generation failed. |
| failReason | The reason why the action failed, if it did. |