Disable drone caching of npm
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-05-07 14:30:47 +02:00
parent 8543d83a4e
commit f3f5108bbb

View File

@ -16,16 +16,16 @@ steps:
- go build ./...
- go test ./...
- name: restore-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
restore: true
file: node-cache.tar
mount:
- ./editor/node_modules
# - name: restore-cache
# image: drillster/drone-volume-cache
# volumes:
# - name: cache
# path: /cache
# settings:
# restore: true
# file: node-cache.tar
# mount:
# - ./editor/node_modules
- name: build-node
image: node
@ -35,16 +35,16 @@ steps:
- npm install
- npm run docker
- name: rebuild-cache
image: drillster/drone-volume-cache
volumes:
- name: cache
path: /cache
settings:
rebuild: true
file: node-cache.tar
mount:
- ./editor/node_modules
# - name: rebuild-cache
# image: drillster/drone-volume-cache
# volumes:
# - name: cache
# path: /cache
# settings:
# rebuild: true
# file: node-cache.tar
# mount:
# - ./editor/node_modules
- name: publish
image: plugins/docker