diff --git a/.drone.yml b/.drone.yml index aa1c63c..46c1e5e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ type: docker name: default platform: - os: linux + os: windows arch: amd64 steps: @@ -15,8 +15,9 @@ steps: - test commands: - npm config set registry https://registry.npmmirror.com/ - - npm install - - npm run build:h5:test + - npm install -g pnpm + - pnpm install + - pnpm build:h5:test - rm -rf dist.tar - rm -rf node_modules - tar -zcvf dist.tar ./dist ./default.conf ./Dockerfile @@ -29,8 +30,9 @@ steps: - master commands: - npm config set registry https://registry.npmmirror.com/ - - npm install - - npm run build:h5:prod + - npm install -g pnpm + - pnpm install + - pnpm build:h5:prod - rm -rf dist.tar - rm -rf node_modules - tar -zcvf dist.tar ./dist ./default.conf ./Dockerfile