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