fix: use npm run build:h5 and add debug output
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Developer
2025-12-13 10:05:55 +08:00
parent 4ccc095b05
commit 5dacd05cbb

View File

@@ -10,10 +10,13 @@ trigger:
steps:
- name: build
image: node:16-alpine
environment:
NODE_OPTIONS: --max-old-space-size=4096
commands:
- npm install --legacy-peer-deps
- export NODE_OPTIONS="--max-old-space-size=4096"
- ./node_modules/.bin/cross-env NODE_ENV=production UNI_PLATFORM=h5 ./node_modules/.bin/vue-cli-service build --no-clean
- npm run build:h5 || true
- ls -la dist/build/h5/ || echo 'Build directory not found'
- test -d dist/build/h5 && ls -la dist/build/h5/
- name: deploy
image: appleboy/drone-scp