DEV Community

Discussion on: How to cache node_modules in GitHub Actions with Yarn

Collapse
 
bfdes profile image
Bruno Fernandes • Edited

Thank you.

Just to add that -- unlike the other responses -- caching the node_modules folder as illustrated seems sufficient for me.
I find that i) the cache is restored ii) yarn install completes rapidly.
Example: github.com/bfdes/bfdes.in/runs/131...