axios/Bundle Size Action
Compares local build artifact gzip sizes against matching files from npm release baselines.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| path | Path to the local project root containing built artifacts. | no | . |
| package-name | npm package name whose latest and previous releases provide baseline archives. | yes | — |
| release-stream | Optional leading major version number, such as 0 or 1, used to select npm release baselines from that release stream. | no | — |
| files | Newline-delimited file paths to compare in the local project and npm release baselines. | yes | — |
| output-file | Path, relative to the local project root, where the JSON comparison report will be written. | no | bundle-size-comparison.json |
| markdown-output-file | Path, relative to the local project root, where the Markdown comparison report will be written. | no | bundle-size-comparison.md |
Outputs
| name | description |
|---|---|
| size | Total current gzip size in bytes for all compared files. |
| comparison-file | Absolute path to the generated JSON comparison file. |
| markdown-file | Absolute path to the generated Markdown comparison file. |
| total-current-gzip-size | Total current gzip size in bytes for all compared files. |
| total-baseline-gzip-size | Total selected primary-release baseline gzip size in bytes for all compared files. |
| total-delta-gzip-size | Difference in gzip bytes between current and selected primary-release baseline totals. |