Node-Template: include npm-cache in runner-cache
I think it is useful to include the npm-cache in the runner-cache, because npm@5 will skip checking the registry if the files are already cached. This is probably more important than caching the node_modules. I use npm config set cache $CI_PROJECT_DIR/.npm
to as first command in the script and include .npm
in the cache.paths section.