diff --git a/.drone.yml b/.drone.yml index 3d2c558..f15bae8 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,36 +17,36 @@ volumes: path: /var/lib/data steps: - - name: restore-cache - image: drillster/drone-volume-cache - volumes: - - name: cache - path: /cache - settings: - restore: true - mount: - - ./node_modules + # - name: restore-cache + # image: drillster/drone-volume-cache + # volumes: + # - name: cache + # path: /cache + # settings: + # restore: true + # mount: + # - ./node_modules - name: build image: node:latest pull: if-not-exists # default always - volumes: - - name: cache - path: /root/.m2 + # volumes: + # - name: cache + # path: /root/.m2 commands: - npm config set registry http://registry.npm.taobao.org - npm i - - npm run build:dev + - npm run test - - name: rebuild-cache - image: drillster/drone-volume-cache - volumes: - - name: cache - path: /cache - settings: - rebuild: true - mount: - - ./node_modules + # - name: rebuild-cache + # image: drillster/drone-volume-cache + # volumes: + # - name: cache + # path: /cache + # settings: + # rebuild: true + # mount: + # - ./node_modules - name: deploy-scp image: appleboy/drone-scp diff --git a/CHANGELOG.md b/CHANGELOG.md index e8bb4c5..a57621a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ - | 更新drone.yml | [63ec5a3](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/63ec5a3) - | 更新drone.yml | [a57d598](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/a57d598) - | 测试ci | [6ab95f8](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/6ab95f8) + - | 测试ci' | [d25f2a7](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/d25f2a7) - | 添加drone.yml | [9fbae89](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/9fbae89)