fe-drone-ci/.drone.yml

31 lines
449 B
YAML
Raw Normal View History

2021-06-02 10:00:25 +00:00
kind: pipeline
type: docker
name: vue-admin
trigger:
branch: ci
steps:
2021-06-02 10:19:32 +00:00
- name: restore
image: drillster/drone-volume-cache
volumes:
- name: modules
path: /cache
settings:
restore: true
mount:
- ./node_modules
2021-06-02 10:00:25 +00:00
- name: build
image: node:12.16.1
commands:
- yarn
- yarn build:prod
volumes:
- name: modules
host:
path: /mnt/d/ci_volumes/fe-ci-demo/node_modules