test
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
mol
2023-12-14 10:01:19 +08:00
parent 7bf234cf57
commit eb57171700

View File

@ -30,6 +30,7 @@ steps: # 定义管道的执行步骤
restore: true restore: true
mount: mount:
- ./node_modules - ./node_modules
- ./nugetpackages
- name: build-image - name: build-image
image: plugins/docker image: plugins/docker
@ -44,6 +45,18 @@ steps: # 定义管道的执行步骤
registry: https://git.liliyamol.cn:8081 registry: https://git.liliyamol.cn:8081
repo: git.liliyamol.cn:8081/mol/mol-robot repo: git.liliyamol.cn:8081/mol/mol-robot
- name: rebuild cache # 构建缓存
image: drillster/drone-volume-cache
depends_on: [build-image]
volumes:
- name: cache
path: /cache
settings:
rebuild: true
mount:
- ./node_modules
- ./nugetpackages
--- ---
kind: pipeline # 定义一个管道 kind: pipeline # 定义一个管道
type: docker # 当前管道的类型 type: docker # 当前管道的类型
@ -82,4 +95,4 @@ steps:
volumes: volumes:
- name: cache - name: cache
host: host:
path: /tmp/npm/cache path: /tmp/cache