This commit is contained in:
guotao 2021-05-18 11:38:41 +08:00
parent ae0379d589
commit 7aad151a04
1 changed files with 10 additions and 11 deletions

View File

@ -1,10 +1,9 @@
kind: pipeline
type: docker
name: default
platform:
os: linux
arch: arm64
#platform:
# os: linux
#arch: arm64
steps:
- name: 编译
@ -13,11 +12,11 @@ steps:
- npm install -g cnpm --registry=https://registry.npm.taobao.org
- cnpm install
- npm run build
volumes:
- name: node_cache
path: node_modules
# volumes:
# - name: node_cache
# path: node_modules
volumes:
- name: node_cache
host:
path: /data/node_cache
#volumes:
#- name: node_cache
# host:
# path: /data/node_cache