@@ -7,15 +7,16 @@ node:
steps:
- name: yarn-install
- image: gplane/pnpm:node18
+ image: node:18.16.1
volumes:
- name: modules-cache
path: /drone/src/node_modules # 下载依赖的目录挂载出来,防止重复下载
commands:
- - npm install -g pnpm
- # - pnpm config set registry http://registry.npmjs.org
+ - yarn build
+# - npm install -g pnpm
+# - pnpm config set registry http://registry.npmjs.org
# - pnpm install
- - pnpm run build
+# - pnpm run build
- name: build
image: docker:20.10.7