calibreapp / image-actions

A Github Action that automatically compresses JPEGs, PNGs and WebPs in Pull Requests.
https://calibreapp.com/blog/compress-images-in-prs
GNU General Public License v3.0
1.43k stars 67 forks source link

Update action to be JS-based #287

Open MelSumner opened 3 weeks ago

MelSumner commented 3 weeks ago

Summary

Update action to be JS based, so Docker is no longer needed.

Action Items

benschwarz commented 2 weeks ago

As a prerequisite, we'll need to remove mozjpeg, then we can action this change.

We might need to double check all the action inputs are handled correctly in the transition from Docker to plain ol' JS, but… I think it'll be ok.

MelSumner commented 2 weeks ago

@benschwarz I tried to handle that prereq with some PRs- #285 and #288

I thought once we had something that at least built correctly, we could then work to refactor and update. WDYT?

benschwarz commented 2 weeks ago

@MelSumner absolutely! If that works for you, let's go that way 👍