preactjs / compressed-size-action

GitHub Action that adds compressed size changes to your PRs.
https://github.com/marketplace/actions/compressed-size-action
MIT License
602 stars 84 forks source link

Add size change to GitHub Check summary #22

Open USSRLivesOn opened 4 years ago

USSRLivesOn commented 4 years ago

Currently, the GitHub Check just displays whether or not the action itself ran successfully:

Screen Shot 2020-05-03 at 10 33 51

It would be nice to have a more informative summary, perhaps including the change in size, like done in https://github.com/siddharthkp/bundlesize#build-status-for-github:

68747470733a2f2f63646e2e7261776769742e636f6d2f7369646468617274686b702f62756e646c6573697a652f6d61737465722f6172742f7374617475732e706e67

I know a lot of the logic already exists for the comment version of the action, and it would be great if it could be ported to the GitHub Checks version as well.

developit commented 4 years ago

Yes! I 100% want this, been meaning to find some time to implement it.

swissspidy commented 2 years ago

See also https://github.blog/2022-05-09-supercharging-github-actions-with-job-summaries/