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