meruimports/Upload LightHouse Badger Action
This action takes a Lighthouse report, generates SVG badges for each category, and uploads them to an external service.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| s3-bucket-name | The S3 bucket name where SVG badges will be uploaded. | no | — |
| s3-access-key-id | The AWS access key ID for S3 upload. | no | — |
| s3-secret-access-key | The AWS secret access key for S3 upload. | no | — |
| s3-region | The AWS region for S3 upload. | no | — |
| s3-prefix | The prefix for the S3 object key. | no | — |
| azure-container-name | The Azure Blob container name where SVG badges will be uploaded. | no | — |
| azure-storage-account-name | The Azure Storage account name. | no | — |
| azure-storage-account-key | The Azure Storage account key. | no | — |
| upload-destination | The destination for uploading SVG badges. Can be "s3" or "azure". | yes | s3 |
| reports-path | The path to the Lighthouse reports. | yes | ./.lighthouseci |
| result-categories | Comma-separated list of Lighthouse result categories. | no | performance,accessibility,best-practices,seo |
| upload-reports | Boolean to upload the Lighthouse reports. | no | false |
Outputs
| name | description |
|---|---|
| s3-url | The URL of the uploaded SVG badges in S3. |
| azure-blob-url | The URL of the uploaded SVG badges in Azure Blob Storage. |