π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
chore: set node build memory
mertmit73894ff85020
diff --git a/.github/workflows/pre-build-for-playwright.yml b/.github/workflows/pre-build-for-playwright.ymlindex b1fc586e23..f3f82d18c9 100644--- a/.github/workflows/pre-build-for-playwright.yml+++ b/.github/workflows/pre-build-for-playwright.yml@@ -26,6 +26,7 @@ jobs:- name: build frontend (nc-gui)working-directory: ./packages/nc-guirun: |+ export NODE_OPTIONS="--max-old-space-size=8192"pnpm run buildtimeout-minutes: 20- name: Create build archivediff --git a/.github/workflows/release-docker.yml b/.github/workflows/release-docker.ymlindex befecfcb49..a12332b1fb 100644--- a/.github/workflows/release-docker.yml+++ b/.github/workflows/release-docker.yml@@ -101,7 +101,7 @@ jobs:- name: upgrade packages for nightly build or pr buildif: ${{ 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-dailytargetEnv=${{ 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 &&diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.ymlindex 23f2c8ae18..e747e221b5 100644--- a/.github/workflows/release-npm.yml+++ b/.github/workflows/release-npm.yml@@ -53,7 +53,7 @@ jobs:node-version: 22.12.0registry-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 packageif [[ ${{ github.event.inputs.targetEnv || inputs.targetEnv }} == 'DEV' ]]; thendiff --git a/build-local-docker-image.sh b/build-local-docker-image.shindex 95cd8781f9..7d232fb623 100755--- a/build-local-docker-image.sh+++ b/build-local-docker-image.sh@@ -31,7 +31,7 @@ function install_dependencies() {function build_gui() {# build nc-gui- export NODE_OPTIONS="--max_old_space_size=16384"+ export NODE_OPTIONS="--max_old_space_size=8192"# generate static build of nc-guicd ${SCRIPT_DIR}/packages/nc-guipnpm run generate || ERROR="gui build failed"diff --git a/packages/nc-gui/package.json b/packages/nc-gui/package.jsonindex 951ae1989a..f351940768 100644--- a/packages/nc-gui/package.json+++ b/packages/nc-gui/package.json@@ -31,8 +31,8 @@"coverage": "vitest -c test/vite.config.ts run --coverage","build:copy": "pnpm run generate; rm -rf ../nc-lib-gui/lib/dist/; rsync -rvzh ./dist/ ../nc-lib-gui/lib/dist/","build:copy:publish": "pnpm run generate; rm -rf ../nc-lib-gui/lib/dist/; rsync -rvzh ./dist/ ../nc-lib-gui/lib/dist/; pnpm publish ../nc-lib-gui",- "ci:run": "export NODE_OPTIONS=\"--max_old_space_size=16384\"; pnpm install; pnpm run build; NUXT_PAGE_TRANSITION_DISABLE=true NUXT_PUBLIC_NC_BACKEND_URL=http://localhost:8080 pnpm run start &",- "ci:start": "export NODE_OPTIONS=\"--max_old_space_size=16384\"; NUXT_PAGE_TRANSITION_DISABLE=true NUXT_PUBLIC_NC_BACKEND_URL=http://localhost:8080 pnpm run start &",+ "ci:run": "export NODE_OPTIONS=\"--max_old_space_size=8192\"; pnpm install; pnpm run build; NUXT_PAGE_TRANSITION_DISABLE=true NUXT_PUBLIC_NC_BACKEND_URL=http://localhost:8080 pnpm run start &",+ "ci:start": "export NODE_OPTIONS=\"--max_old_space_size=8192\"; NUXT_PAGE_TRANSITION_DISABLE=true NUXT_PUBLIC_NC_BACKEND_URL=http://localhost:8080 pnpm run start &","preinstall": "npx only-allow pnpm","postinstall": "nuxt prepare"},