fix(workflow): increase max_old_space_size

This commit is contained in:
Wing-Kam Wong
2022-10-03 16:49:08 +08:00
parent 672ba3112a
commit 9adcbcfcf0
2 changed files with 2 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ jobs:
- name: upgrade packages for nightly build or pr build
if: ${{ github.event.inputs.targetEnv == 'DEV' || inputs.targetEnv == 'DEV' }}
run: |
export NODE_OPTIONS="--max_old_space_size=16384"
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js
cd packages/nocodb-sdk
npm install && npm run build