This commit is contained in:
12
.drone.yml
12
.drone.yml
@@ -3,7 +3,7 @@ type: docker
|
|||||||
name: default
|
name: default
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: windows
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -15,8 +15,9 @@ steps:
|
|||||||
- test
|
- test
|
||||||
commands:
|
commands:
|
||||||
- npm config set registry https://registry.npmmirror.com/
|
- npm config set registry https://registry.npmmirror.com/
|
||||||
- npm install
|
- npm install -g pnpm
|
||||||
- npm run build:h5:test
|
- pnpm install
|
||||||
|
- pnpm build:h5:test
|
||||||
- rm -rf dist.tar
|
- rm -rf dist.tar
|
||||||
- rm -rf node_modules
|
- rm -rf node_modules
|
||||||
- tar -zcvf dist.tar ./dist ./default.conf ./Dockerfile
|
- tar -zcvf dist.tar ./dist ./default.conf ./Dockerfile
|
||||||
@@ -29,8 +30,9 @@ steps:
|
|||||||
- master
|
- master
|
||||||
commands:
|
commands:
|
||||||
- npm config set registry https://registry.npmmirror.com/
|
- npm config set registry https://registry.npmmirror.com/
|
||||||
- npm install
|
- npm install -g pnpm
|
||||||
- npm run build:h5:prod
|
- pnpm install
|
||||||
|
- pnpm build:h5:prod
|
||||||
- rm -rf dist.tar
|
- rm -rf dist.tar
|
||||||
- rm -rf node_modules
|
- rm -rf node_modules
|
||||||
- tar -zcvf dist.tar ./dist ./default.conf ./Dockerfile
|
- tar -zcvf dist.tar ./dist ./default.conf ./Dockerfile
|
||||||
|
|||||||
Reference in New Issue
Block a user