I’ve got a project in CircleCI which contains a few node projects within it.
At the moment our npm install step takes a long time (10mins) and I’d like to drastically reduce this with caching. However I’d rather not type out all the
node_modules directories by hand, as these will change over time.
Is it possible to define a line in
cache_directories to pick up any and all
node_modules folders in the project and cache them?
dependencies: cache_directories: - */node_modules