Increase Node heap limit for CI check step
Some checks failed
CI / check (push) Failing after 16s
CI / build-image (push) Has been skipped

oxc-parser (used by Knip) fails with ArrayBuffer allocation
error on the CI runner's default heap size. Set max-old-space-size
to 2048MB to accommodate the buffer allocation.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Lukas
2026-03-23 14:40:33 +01:00
parent c4079c384b
commit ec9f2e7877

View File

@@ -21,6 +21,8 @@ jobs:
- run: pnpm install --frozen-lockfile - run: pnpm install --frozen-lockfile
- run: pnpm check - run: pnpm check
env:
NODE_OPTIONS: "--max-old-space-size=2048"
build-image: build-image:
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')