q1sh101/Build Size Diff

Track bundle size on push/PRs. Auto-comment with gzip/brotli metrics. Works with Vite, Webpack, Next.js, and more.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
build-commandBuild command to runnonpm run build
build-timeout-minutesMax minutes to allow build to run before failingno15
allow-unsafe-buildAllow build execution on pull_request_target events (unsafe)nofalse
fail-on-stderrFail build if stderr output is non-emptynofalse
dist-pathOutput directory to scan. If omitted, auto-detection is used (e.g., dist, build, out, .next)no
gzipCalculate gzip sizesnotrue
brotliCalculate brotli sizesnotrue
budget-max-increase-kbMaximum allowed size increase in KB (e.g., 10 or 0.5)no
warn-above-kbWarn if any file grows more than this KB (e.g., 50)no
fail-above-kbFail if any file grows more than this KB (e.g., 100)no
comment-modeWhen to comment: always, on-increase, nevernoalways
fail-on-comment-errorFail workflow if PR comment cannot be postednofalse
skip-installSkip dependency installation (use if already installed)nofalse
github-tokenGitHub token for PR comments and artifact accessyes
max-artifact-pagesMaximum number of artifact pages to search (100 artifacts per page). Prevents long searches in repos with many artifacts.no10
namedescription
total-sizeTotal bundle size in bytes
total-gzipTotal gzip size in bytes
total-brotliTotal brotli size in bytes
diff-sizeSize difference in bytes
diff-gzipGzip size difference in bytes
diff-brotliBrotli size difference in bytes
statusStatus: pass, fail, no-baseline, or baseline-updated