chore: set node build memory

Signed-off-by: mertmit <mertmit99@gmail.com>
This commit is contained in:
mertmit
2026-02-18 12:49:59 +03:00
parent 36b0e59a24
commit 73894ff850
5 changed files with 6 additions and 5 deletions

View File

@@ -26,6 +26,7 @@ jobs:
- name: build frontend (nc-gui)
working-directory: ./packages/nc-gui
run: |
export NODE_OPTIONS="--max-old-space-size=8192"
pnpm run build
timeout-minutes: 20
- name: Create build archive

View File

@@ -101,7 +101,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"
export NODE_OPTIONS="--max_old_space_size=8192"
NOCODB_SDK_PKG_NAME=nocodb-sdk-daily
targetEnv=${{ github.event.inputs.targetEnv || inputs.targetEnv }} targetVersion=${{ github.event.inputs.tag || inputs.tag }} node scripts/bumpNocodbSdkVersion.js &&
pnpm --filter=${NOCODB_SDK_PKG_NAME} install --ignore-scripts --no-frozen-lockfile --ignore-workspace && pnpm --filter=${NOCODB_SDK_PKG_NAME} run build &&

View File

@@ -53,7 +53,7 @@ jobs:
node-version: 22.12.0
registry-url: "https://registry.npmjs.org"
- run: |
export NODE_OPTIONS="--max_old_space_size=16384"
export NODE_OPTIONS="--max_old_space_size=8192"
NOCODB_SDK_PKG_NAME=nocodb-sdk
# If targetEnv is DEV, then use nocodb-sdk-daily package
if [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == 'DEV' ]]; then