TheAfroOfDoom / omega-flowey-minecraft-remastered

MIT License
3 stars 1 forks source link

♻️ 👷 DRY common yarn setup steps into local action #158

Closed TheAfroOfDoom closed 4 weeks ago

TheAfroOfDoom commented 4 weeks ago

Summary

Our GitHub Actions workflows that used Yarn shared a lot of steps in-common related to downloading yarn, installing dependencies (from cache), and setting up environment variables.

This PR DRYs this up so the workflows now used shared config code in one place under ./.github/actions/setup-yarn:

https://github.com/TheAfroOfDoom/omega-flowey-minecraft-remastered/blob/2be7c6fa09406243f03116333ffdff10d2bb48d2/.github/actions/setup-yarn/action.yml#L1-L20

Reproducing

see passing CICD

Preview

image