newrelic-apps/New Relic Capture Build Size
Capture Build Size Stats To New Relic
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| analysis-file-contents | Build analysis file contents -- Takes precendence over analysis-file-url when both are supplied. | no | — |
| analysis-file-url | Public URL to the analysis file - When supplied without the analysis-file-contents, will fetch the file contents from the URL. It will decorate all events created with a link to the uploaded asset. | no | — |
| analysis-type | Type of analysis file | yes | webpack |
| commit | Commit identifier of the build - defaults to the sha of the commit that triggered the build | no | ${{ github.sha }} |
| event-type | Type of event to be captured - defaults to BuildSize | no | BuildSize |
| file-name-filter | Only include file names that include this string - defaults to include everything | no | — |
| manual-analysis-file-name | Manually supply the file name of your build - Takes precendence over analysis-file-contents and analysis-file-url when supplied. Only works if analysis-type is "manual" | no | — |
| manual-analysis-file-size | Manually supply the size of your build - Takes precendence over analysis-file-contents and analysis-file-url when supplied. Only works if analysis-type is "manual" | no | — |
| manual-analysis-gzip-size | Manually supply the gzip size of your build - Takes precendence over analysis-file-contents and analysis-file-url when supplied. Only works if analysis-type is "manual" | no | — |
| nr-account-id | NR Account ID to be used to capture events | yes | — |
| nr-api-key | NR API key to be used to capture events | yes | — |
| nr-env | NR Environment to be used to capture events | no | US |
| traverse | When true, will traverse all subtrees and capture events for each item - defaults to false | no | false |
| trigger | Trigger of the capturing the build size - defaults to the github workflow name. Can be useful if you have differing reasons or jobs for capturing the build size across your repository. | no | ${{ github.workflow }} |
| user | User who triggered the build - defaults to the github actor property | no | ${{ github.actor }} |
| version | Version of the build - defaults to the github ref name | no | ${{ github.ref_name }} |
Outputs
| name | description |
|---|---|
| api-response | The response from NR API |