ci(custom): update
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2025-03-18 15:53:37 +08:00
parent 2b2e8ae481
commit e7fc232ba7

View File

@@ -9,29 +9,27 @@ platform:
steps:
- name: 测试服-构建部署
pull: if-not-exists
image: node:20-alpine
image: node:22-alpine
when:
branch:
- test
commands:
- npm install -g pnpm
- pnpm config set registry https://registry.npmmirror.com/
- pnpm config set store-dir ./.pnpm-store
- pnpm install --frozen-lockfile
- pnpm install
- pnpm build:weapp:test:upload
- rm -rf dist.tar
- name: 正式服-构建部署
pull: if-not-exists
image: node:20-alpine
image: node:22-alpine
when:
branch:
- master
commands:
- npm install -g pnpm
- pnpm config set registry https://registry.npmmirror.com/
- pnpm config set store-dir ./.pnpm-store
- pnpm install --frozen-lockfile
- pnpm install
- pnpm build:weapp:prod:upload
- rm -rf dist.tar