From 5dacd05cbbe3639b81febb78d6aedaada0826933 Mon Sep 17 00:00:00 2001 From: Developer Date: Sat, 13 Dec 2025 10:05:55 +0800 Subject: [PATCH] fix: use npm run build:h5 and add debug output --- .drone.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3b15007..3763dae 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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