Disable drone caching of npm
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8543d83a4e
commit
f3f5108bbb
40
.drone.yml
40
.drone.yml
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user