Given the pipeline configuration below:
image: node:12.3.1
pipelines:
default:
- step:
caches:
- npm
- bower
script:
- pipe: docker://username/pipe:0.0.1
artifacts:
- dist/**
definitions:
caches:
npm: $HOME/.npm
bower: $HOME/.cache/bower/
- How do I cache the custom pipe "docker://username/pipe:0.0.1"?
- Why isn't .npm and bower being cached properly?
<span>Cache "npm": Not found</span>
<span>Cache "bower": Downloading</span><span><br>Cache "bower": Not found</span><span>Cache "npm": Downloading</span>
PS. I'm not looking at caching the node_modules folder. Instead I need to cache npm's cache.