This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user