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) <noreply@anthropic.com>
This commit is contained in:
@@ -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/')
|
||||||
|
|||||||
Reference in New Issue
Block a user