DEV Community

Discussion on: Caching dependencies to speed up workflows in GitHub Actions

Collapse
 
stevetaylor profile image
Steve Taylor

What's the point of this caching feature if I have to run npm install again anyway?

Collapse
 
juanmendes profile image
juanmendes

That's right. And beyond that, it should use npm ci, right? It's unclear what having npm install in your own steps means.

Collapse
 
andrewmcoupe profile image
Andy Coupe

It won't install all of your deps, it'll grab them from the cache.