preactjs / preact

⚛️ Fast 3kB React alternative with the same modern API. Components & Virtual DOM.
https://preactjs.com
MIT License
36.35k stars 1.93k forks source link

ci: Skip running compressed-size builds twice #4377

Closed rschristian closed 1 month ago

rschristian commented 1 month ago

Because we have a prepare script that builds the app, our compressed size action was building the apps once post-install, then again as our build script, resulting in 2 wasted builds per CI run.

You can easily see Microbundle's output here in both the 'Install Dependencies' and 'Build using npm' steps.

coveralls commented 1 month ago

Coverage Status

coverage: 99.609%. remained the same when pulling d12d306afacfcc9bbe3c3d04f9d8bfaf7f084ddc on ci/compressed-size into bfdd189d0b48f66ec2a9539c3fd9374dce5003ba on main.