diff --git a/.drone.yml b/.drone.yml index fa0c31f..97b2fbc 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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