Update .drone.yml
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b8f337300b
commit
d666494515
11
.drone.yml
11
.drone.yml
|
@ -8,7 +8,7 @@ trigger:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: restore
|
- name: restore-modules
|
||||||
image: drillster/drone-volume-cache
|
image: drillster/drone-volume-cache
|
||||||
volumes:
|
volumes:
|
||||||
- name: modules
|
- name: modules
|
||||||
|
@ -24,6 +24,15 @@ steps:
|
||||||
- yarn
|
- yarn
|
||||||
- yarn build:prod
|
- yarn build:prod
|
||||||
|
|
||||||
|
- name: rebuild-modules
|
||||||
|
image: drillster/drone-volume-cache
|
||||||
|
volumes:
|
||||||
|
- name: modules
|
||||||
|
path: /cache
|
||||||
|
settings:
|
||||||
|
rebuild: true
|
||||||
|
mount:
|
||||||
|
- ./node_modules
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- name: modules
|
- name: modules
|
||||||
|
|
Loading…
Reference in New Issue