Skip to content
C

Compressed Size Action

GitHub Action that adds compressed size changes to your PRs

by preactjsFree

#2556in Developer Tools
0In stores

Description

compressed-size-action is a GitHub Action that reports how the compressed size of your build output changes in each pull request. It builds…

Highlights

  • Compares compressed file sizes between a PR and its target
  • Detects yarn, pnpm, bun, deno or npm from lockfiles
  • No upload or central storage of build output
  • Custom install and build steps and file patterns
  • Comment output for fork pull requests and separate workflows

Ratings & Reviews

No ratings yet

Be the first to rate Compressed Size Action.

People also visit

V

Verify Changed Files

Github action to verify file changes that occur during the workflow execution

Productivity
Launch
P

PR Size Labeler

Visualize and optionally limit the size of your Pull Requests

Productivity
Launch
G

github-actions-efficiency

Audit GitHub Actions workflow efficiency and recommend fixes

AI Skills
Get
T

trailofbits/differential-review

Security-focused diff review with git history analysis

AI Skills
Get
B

bundlejs.com

An online tool to quickly bundle & minify your projects

Utilities
Launch
C

CommitFlow

Automate scheduled GitHub repository maintenance

Developer Tools
Launch

Compressed Size Action FAQ

What does it do?

It adds a comment to pull requests that shows how compressed file sizes change compared with the target branch.

How does it know which package manager to use?

It looks for lockfiles and uses yarn, pnpm, bun, deno or npm ci when they are present.

Does it store my build output?

No. The site says it does not upload anything or rely on centralized storage.

Why is there no comment on pull requests from forks?

GitHub's permission model stops the action from creating comments for forks, so it prints the comment to the action log instead.

Can I customize the build?

Yes. You can pass a custom install command, add postinstall and prebuild scripts, and set file patterns.

What are the best Compressed Size Action alternatives?

Popular alternatives to Compressed Size Action include CommitFlow, Releaser Tools and Secure Repo. See all Compressed Size Action alternatives

Developer Stuff

Badges