17 lines
265 B
YAML
17 lines
265 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: 构建任务
|
|
|
|
steps:
|
|
- name: 编译文件
|
|
image: node:16.13.1
|
|
pull: if-not-exists # always never
|
|
commands:
|
|
- node -v
|
|
- npm -v
|
|
- npm install -g nrm
|
|
- nrm ls
|
|
- nrm use taobao
|
|
- npm i
|
|
- npm run build
|