ci: fix
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
1f1013a173
commit
8bb840ff54
10
.drone.yml
10
.drone.yml
|
|
@ -22,8 +22,6 @@ steps:
|
||||||
|
|
||||||
# 设置 pnpm 国内镜像和缓存配置
|
# 设置 pnpm 国内镜像和缓存配置
|
||||||
- pnpm config set registry https://registry.npmmirror.com
|
- pnpm config set registry https://registry.npmmirror.com
|
||||||
- pnpm config set store-dir /drone/src/.pnpm-store
|
|
||||||
- pnpm config set cache-dir /drone/src/.pnpm-cache
|
|
||||||
|
|
||||||
# 显示版本信息
|
# 显示版本信息
|
||||||
- node --version
|
- node --version
|
||||||
|
|
@ -31,7 +29,7 @@ steps:
|
||||||
- pnpm --version
|
- pnpm --version
|
||||||
|
|
||||||
# 安装依赖
|
# 安装依赖
|
||||||
- pnpm install --no-frozen-lockfile
|
- pnpm install
|
||||||
|
|
||||||
# 构建 H5 版本
|
# 构建 H5 版本
|
||||||
- pnpm run build:h5
|
- pnpm run build:h5
|
||||||
|
|
@ -40,12 +38,6 @@ steps:
|
||||||
- ls -la dist/
|
- ls -la dist/
|
||||||
- echo "H5 版本构建完成"
|
- echo "H5 版本构建完成"
|
||||||
volumes:
|
volumes:
|
||||||
- name: pnpm-store
|
|
||||||
path: /drone/src/.pnpm-store
|
|
||||||
- name: pnpm-cache
|
|
||||||
path: /drone/src/.pnpm-cache
|
|
||||||
- name: node-modules
|
|
||||||
path: /drone/src/node_modules
|
|
||||||
- name: build-h5-output
|
- name: build-h5-output
|
||||||
path: /drone/src/dist
|
path: /drone/src/dist
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue