Commit 31cc7ffc authored by gaoshiyao's avatar gaoshiyao

[CI SKIP]

parent 3a3d3014
...@@ -15,6 +15,9 @@ pipeline: ...@@ -15,6 +15,9 @@ pipeline:
- ./node_modules - ./node_modules
volumes: volumes:
- /data/cache:/cache - /data/cache:/cache
when:
branch:
- dev
## 构建 ## 构建
build: build:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:12.18.0-stretch image: registry.cn-qingdao.aliyuncs.com/wod/devops-node:12.18.0-stretch
...@@ -24,6 +27,9 @@ pipeline: ...@@ -24,6 +27,9 @@ pipeline:
commands: commands:
- yarn - yarn
- yarn build - yarn build
when:
branch:
- dev
store-cache: store-cache:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0 image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0
...@@ -32,6 +38,9 @@ pipeline: ...@@ -32,6 +38,9 @@ pipeline:
- ./node_modules - ./node_modules
volumes: volumes:
- /data/cache:/cache - /data/cache:/cache
when:
branch:
- dev
## 编译成静态文件 ## 编译成静态文件
docker: docker:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment