Update .drone.yml
continuous-integration/drone/push Build is passing Details

This commit is contained in:
周炽键 2021-06-02 18:21:56 +08:00
parent b8f337300b
commit d666494515
1 changed files with 10 additions and 1 deletions

View File

@ -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