fix: increase node memory for build
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user