{"id":16240041,"url":"https://github.com/vio/bundle-stats-action","last_synced_at":"2025-08-24T00:17:52.997Z","repository":{"id":40794945,"uuid":"246688443","full_name":"vio/bundle-stats-action","owner":"vio","description":"Generates bundle-stats reports for webpack stats.","archived":false,"fork":false,"pushed_at":"2024-10-29T16:15:31.000Z","size":9559,"stargazers_count":19,"open_issues_count":25,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-27T09:13:02.976Z","etag":null,"topics":["bundle-size","bundle-stats","github-action"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-11T22:01:30.000Z","updated_at":"2025-02-04T20:26:06.000Z","dependencies_parsed_at":"2024-06-01T17:58:08.814Z","dependency_job_id":"9a77deb3-c96b-449f-b7ca-05dc9a9ac4cc","html_url":"https://github.com/vio/bundle-stats-action","commit_stats":{"total_commits":71,"total_committers":3,"mean_commits":"23.666666666666668","dds":0.3802816901408451,"last_synced_commit":"fb08addab6b32ddd5e4824084605b89e0f0ec4f6"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vio%2Fbundle-stats-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vio%2Fbundle-stats-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vio%2Fbundle-stats-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vio%2Fbundle-stats-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vio","download_url":"https://codeload.github.com/vio/bundle-stats-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243814875,"owners_count":20352053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bundle-size","bundle-stats","github-action"],"created_at":"2024-10-10T13:46:00.944Z","updated_at":"2025-03-16T12:32:45.231Z","avatar_url":"https://github.com/vio.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [BundleStats](https://github.com/relative-ci/bundle-stats) Github Action\n\nThis action generates [bundle-stats](https://github.com/relative-ci/bundle-stats) reports for webpack stats and sets the total bundle size as status description for the commit.\n\n## Inputs\n\n### `webpack-stats-path`\n\n**Required** Relative path to an existing webpack stats file, default `dist/webpack-stats.json`.\n\n[bundle-stats webpack configuration options](https://github.com/relative-ci/bundle-stats/tree/master/packages/cli#webpack-configuration)\n\n### `repo-token`\n\nGithub action repo token (eg: `${{ secrets.GITHUB_TOKEN }}`). If provided, the bundle size info will be added as a commit status.\n\n## `id`\n\nAction run id. When running the action multiple times the id will be used to scope the artifacts and\ncommit status\n\n\n## Outputs\n\n`bundle-stats` artifact with `html` and `json` reports:\n\n\u003cimg src=\"https://raw.githubusercontent.com/vio/bundle-stats-action/master/assets/action.jpg?token=AAADH5EKGBHTKLLAHXZN3GC6NGDI2\" alt=\"BundleStats report\" width=\"640\" /\u003e\n\n## Example usage\n\n```yml\njobs:\n  build:\n    steps:\n    - name: Run bundle-stats\n      uses: vio/bundle-stats-action@v1\n      with:\n        webpack-stats-path: 'static/webpack-stats.json'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n### With multiple runs\n\n```yml\njobs:\n  build:\n    steps:\n    - name: Run bundle-stats for app bundle\n      uses: vio/bundle-stats-action@v1\n      with:\n        id: app\n        webpack-stats-path: 'app/webpack-stats.json'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n    - name: Run bundle-stats for web bundle\n      uses: vio/bundle-stats-action@v1\n      with:\n        id: web\n        webpack-stats-path: 'web/webpack-stats.json'\n        repo-token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n## Related projects\n\n### :cyclone: [relative-ci.com](https://relative-ci.com?utm_medium=bundle-stats-action)\n\n#### In-depth webpack bundle analysis and monitoring\n\nRelativeCI automates webpack bundle analysis, monitoring, and alerting so you can identify and fix bundle regressions before shipping to production:\n\n- :crystal_ball: Analyze webpack bundle stats on every build\n- :chart_with_upwards_trend: Monitor webpack bundle stats changes and identify tendencies over extended periods\n- :bell: Get notified via GitHub Checks, GitHub Pull Request comments, and Slack notifications\n- :hammer: Support for all major CI services (CircleCI, GitHub Actions, Gitlab CI, Jenkins, Travis CI)\n- :two_hearts: Always free for Open Source\n\n[Try for free](https://relative-ci.com?utm_medium=bundle-stats-action)\n\n### [bundle-stats](https://github.com/relative-ci/bundle-stats)\n\nAnalyze webpack stats(bundle size, assets, modules, packages) and compare the results between different builds.\n\n### [relative-ci/compare](https://compare.relative-ci.com)\n\nStandalone web application to compare Webpack/Lighthouse/Browsertime stats.\n\n[Compare bundle stats](https://compare.relative-ci.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvio%2Fbundle-stats-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvio%2Fbundle-stats-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvio%2Fbundle-stats-action/lists"}