From 263ba670e44bbdc5e57225ce14aad8e67932a807 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E7=82=BD=E9=94=AE?= <397201698@qq.com> Date: Wed, 2 Jun 2021 19:01:17 +0800 Subject: [PATCH] ci --- .drone.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index e782e65c..ffe68001 100644 --- a/.drone.yml +++ b/.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 \ No newline at end of file + path: /mnt/d/ci_volumes