parent
41946af633
commit
22cd5dafa7
@ -1,14 +1,17 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: build
|
||||
name: 构建任务
|
||||
|
||||
steps:
|
||||
- name: 编译文件
|
||||
image: node:10.16
|
||||
image: node:16.13.1
|
||||
pull: if-not-exists # always never
|
||||
commands:
|
||||
- node -v
|
||||
- npm -v
|
||||
- yarn --version
|
||||
- yarn config set cache-folder .yarn-cache
|
||||
- npm install -g nrm
|
||||
- nrm ls
|
||||
- nrm use taobao
|
||||
- yarn install
|
||||
- yarn run build
|
||||
|
Loading…
Reference in New Issue
Block a user