fix: increase node memory for build

This commit is contained in:
Developer
2025-12-13 09:43:41 +08:00
parent 0f3cfee622
commit 198d9edf12

View File

@@ -12,7 +12,8 @@ steps:
image: node:16-alpine
commands:
- npm install
- ./node_modules/.bin/cross-env NODE_ENV=production UNI_PLATFORM=h5 ./node_modules/.bin/vue-cli-service build
- 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
- name: deploy
image: appleboy/drone-scp