website icon indicating copy to clipboard operation
website copied to clipboard

PNG builds take over 4 minutes and could be done in repository.

Open lewisgoddard opened this issue 4 years ago • 1 comments

Instead of running PNG builds for 4 minutes on every commit and deploy, we could just compress them in the repository and add a GitHub action to check new PRs for poor compression.

[11:42:03] Finished 'scripts' after 18 s
[11:42:03] Finished 'styles' after 18 s
[11:42:07] gulp-imagemin: Minified 5 images (saved 234 kB - 11.1%)
[11:42:08] Finished 'jpg' after 23 s
[11:42:23] Finished 'svg' after 38 s
[11:46:03] gulp-imagemin: Minified 120 images (saved 2.26 MB - 6.9%)
[11:46:03] Finished 'png' after 4.3 min
[11:46:03] Finished 'images' after 4.3 min
[11:46:03] Finished 'default' after 4.3 min

lewisgoddard avatar May 11 '20 11:05 lewisgoddard

We use Calibre Image Actions on the blog and I've used it on other projects: https://github.com/marketplace/actions/image-actions

cassidyjames avatar Jun 24 '20 20:06 cassidyjames