Browse Source

fix: 使用自封镜像

master
niushuai233 2 years ago
parent
commit
b7e3cad482
  1. 4
      .drone.yml
  2. 22995
      yarn.lock

4
.drone.yml

@ -33,7 +33,7 @@ volumes:
steps: steps:
# node install # node install
- name: node-package - name: node-package
image: node:18.12.1 image: niushuai233/node-cnpm:18.12.1
volumes: volumes:
- name: node-cache - name: node-cache
path: /node_cache path: /node_cache
@ -47,7 +47,7 @@ steps:
# 打包 # 打包
- npm config set registry https://registry.npm.taobao.org - npm config set registry https://registry.npm.taobao.org
- npm config set cache /node_cache --global - npm config set cache /node_cache --global
- npm install - npm run pre
- npm run build - npm run build
# 构建镜像 # 构建镜像

22995
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save