ci(custom):
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-03-08 20:24:32 +08:00
parent 1ed513252b
commit eafadaa3f2

View File

@@ -5,13 +5,13 @@ name: default
steps: steps:
- name: 测试服-依赖安装&&编译打包 - name: 测试服-依赖安装&&编译打包
pull: if-not-exists pull: if-not-exists
image: node:20-alpine image: node:20
when: when:
branch: branch:
- test - test
commands: commands:
- npm config set registry https://registry.npmmirror.com/ - npm config set registry https://registry.npmmirror.com/
- npm install -g @tarojs/cli pnpm - npm install -g pnpm
- pnpm install - pnpm install
- pnpm build:h5:test - pnpm build:h5:test
- rm -rf dist.tar - rm -rf dist.tar
@@ -20,13 +20,13 @@ steps:
- name: 正式服-依赖安装&&编译打包 - name: 正式服-依赖安装&&编译打包
pull: if-not-exists pull: if-not-exists
image: node:20-alpine image: node:20
when: when:
branch: branch:
- master - master
commands: commands:
- npm config set registry https://registry.npmmirror.com/ - npm config set registry https://registry.npmmirror.com/
- npm install -g @tarojs/cli pnpm - npm install -g pnpm
- pnpm install - pnpm install
- pnpm build:h5:prod - pnpm build:h5:prod
- rm -rf dist.tar - rm -rf dist.tar