image: node:6.9.4
pipelines:
default:
- step:
caches:
- node
- globalnode
- usernode
script: # Modify the commands below to build your repository.
- npm install -g firebase-tools
- npm install
- npm run build
- firebase deploy --token=$FIREBASE_TOKEN --project ***** --non-interactive
definitions:
caches:
globalnode: /usr/local/lib/node_modules
usernode: $HOME/.npm
firebase-tools is not cached, but it is in "globalnode".
am I doing this wrong?