ci: Run the editor-ui typecheck alone with a larger heap (no-changelog) (#46312)

This commit is contained in:
Declan Carroll authored and GitHub committed 2026-12-03 16:44:38 +00:00
1 parent 5bbb591cf2
commit 1fa3898805
2 files changed
+9 -4

No files matched your search

+8 -3
View File
@@ -218,8 +218,9 @@ jobs:
runs-on: ${{ vars.RUNNER_PROVIDER == 'github' && 'ubuntu-latest' || 'blacksmith-4vcpu-bmi-n8n' }}
needs: [install-and-build, format-check]
env:
# Inherited by every worker turbo spawns (editor-ui overrides to 8 GB);
# concurrency=1 keeps peak memory within a 4vcpu BMI runner's 15.2 GB.
# Inherited by every worker turbo spawns. Two workers at this cap fit in
# the 15.2 GB of a 4vcpu BMI runner. n8n-editor-ui sets a larger cap in
# its typecheck script, so it runs alone in its own step.
NODE_OPTIONS: --max-old-space-size=6144
# Read by `turbo --affected`. If the base is missing, turbo checks every package.
TURBO_SCM_BASE: ${{ needs.install-and-build.outputs.affected_base }}
@@ -244,7 +245,11 @@ jobs:
with:
# turbo directly, not the root `typecheck` script, to keep the
# concurrency bound CI-only.
build-command: pnpm turbo typecheck --concurrency=1${{ needs.install-and-build.outputs.affected_base != '' && ' --affected' || '' }}
build-command: pnpm turbo typecheck --concurrency=2 --filter=!n8n-editor-ui${{ needs.install-and-build.outputs.affected_base != '' && ' --affected' || '' }}
# With --affected, turbo runs no task if n8n-editor-ui is not affected.
- name: Typecheck n8n-editor-ui
run: pnpm turbo typecheck --filter=n8n-editor-ui ${TURBO_SCM_BASE:+--affected}
lint:
name: Lint
+1 -1
View File
@@ -9,7 +9,7 @@
"build": "cross-env VUE_APP_PUBLIC_PATH=\"/{{BASE_PATH}}/\" NODE_OPTIONS=\"--max-old-space-size=8192\" vite build",
"build:unchecked": "pnpm run build",
"build:coverage": "cross-env VUE_APP_PUBLIC_PATH=\"/{{BASE_PATH}}/\" NODE_OPTIONS=\"--max-old-space-size=10240\" BUILD_WITH_COVERAGE=true vite build",
"typecheck": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" vue-tsc --noEmit",
"typecheck": "cross-env NODE_OPTIONS=\"--max-old-space-size=12288\" vue-tsc --noEmit",
"typecheck:watch": "vue-tsc --watch --noEmit",
"dev": "pnpm serve",
"lint": "oxlint src --quiet && vize lint -c vize-lint.config.mjs \"src/**/*.vue\"",