Commit 4a10e2f1 authored by 张俊's avatar 张俊

使用yarn

parent fdbb0a09
Pipeline #49598 failed with stage
......@@ -10,10 +10,8 @@ pipeline:
read-cache:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0
restore: true
check: yarn.lock
mount:
- ./node_modules
- ./yarn.lock
volumes:
- /data/cache:/cache
build:
......@@ -22,8 +20,15 @@ pipeline:
volumes:
- /data/cache/yarn:/usr/local/share/.cache/yarn
commands:
- npm install
- npm run build
- yarn install
- yarn run build
store-cache:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-cache:1.0
rebuild: true
mount:
- ./node_modules
volumes:
- /data/cache:/cache
docker-master:
image: registry.cn-qingdao.aliyuncs.com/wod/devops-docker:1.0
volumes:
......
This diff is collapsed.
This diff is collapsed.
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