ci
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
b0ea7fced4
commit
263ba670e4
10
.drone.yml
10
.drone.yml
|
@ -2,12 +2,10 @@ kind: pipeline
|
|||
type: docker
|
||||
name: vue-admin
|
||||
|
||||
|
||||
trigger:
|
||||
branch: ci
|
||||
|
||||
steps:
|
||||
|
||||
- name: restore-modules
|
||||
image: drillster/drone-volume-cache
|
||||
volumes:
|
||||
|
@ -17,7 +15,8 @@ steps:
|
|||
restore: true
|
||||
mount:
|
||||
- ./node_modules
|
||||
|
||||
- ./yarn.lock
|
||||
|
||||
- name: build
|
||||
image: node:12.16.1
|
||||
commands:
|
||||
|
@ -36,9 +35,10 @@ steps:
|
|||
rebuild: true
|
||||
mount:
|
||||
- ./node_modules
|
||||
- ../dist
|
||||
- ./dist
|
||||
- ./yarn.lock
|
||||
|
||||
volumes:
|
||||
- name: modules
|
||||
host:
|
||||
path: /mnt/d/ci_volumes
|
||||
path: /mnt/d/ci_volumes
|
||||
|
|
Loading…
Reference in New Issue