kind: pipeline type: docker name: build steps: - name: 编译文件 image: node:10.16 pull: if-not-exists # always never commands: - node -v - npm -v - yarn --version - yarn config set cache-folder .yarn-cache - yarn install - yarn run build