From ec9f2e7877a69f6ad8aa94c13bbd4f89e2bb7ef7 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 23 Mar 2026 14:40:33 +0100 Subject: [PATCH] Increase Node heap limit for CI check step 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) --- .gitea/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index dd4105b..5ca47f9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -21,6 +21,8 @@ jobs: - run: pnpm install --frozen-lockfile - run: pnpm check + env: + NODE_OPTIONS: "--max-old-space-size=2048" build-image: if: startsWith(github.ref, 'refs/tags/')