sveltejs / sapper

The next small thing in web development, powered by Svelte
https://sapper.svelte.dev
MIT License
7.02k stars 437 forks source link

To add `cache` to workflows using `actions/setup-node` #1788

Closed oscard0m closed 2 years ago

oscard0m commented 3 years ago

Is your feature request related to a problem? Please describe.

Not directly related to the project itself, it's about its CI:

Describe the solution you'd like

PR drafted here with the solution, I think it's easier than explaining the solution: https://github.com/sveltejs/sapper/pull/1787

Describe alternatives you've considered

No alternatives as far as I know.

How important is this feature to you?

Not important to me, I think it can improve developer experience to maintainers and contributions in the CI execution times.

Additional context

setup-node GitHub Action just released a new option to add cache to steps using it.

You can find the details here: https://github.blog/changelog/2021-07-02-github-actions-setup-node-now-supports-dependency-caching/