Browse Source

fix:修改node 镜像

zcuishan 3 months ago
parent
commit
434f845217
1 changed files with 5 additions and 4 deletions
  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