ci
Some checks failed
continuous-integration/drone Build is failing

This commit is contained in:
陶林 2022-05-07 19:58:59 +08:00
parent 41946af633
commit 22cd5dafa7

View File

@ -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