Ver Fonte

fix:修改node 镜像

zcuishan há 3 meses atrás
pai
commit
434f845217
1 ficheiros alterados com 5 adições e 4 exclusões
  1. 5 4
      .drone.yml

+ 5 - 4
.drone.yml

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