fix(ci): build failed on Netlify with latest Node.js v24.4.0

Read more at:
- https://github.com/nodejs/node/issues/59057
- https://github.com/pnpm/pnpm/issues/9743

Details:
```
7:26:13 PM: Failed during stage 'Install dependencies': dependency_installation script returned non-zero exit code: 1
7:26:13 PM: <--- Last few GCs --->
7:26:13 PM: [1319:0x7f60e4002000]     8717 ms: Scavenge 593.1 (722.0) -> 593.1 (722.0) MB, pooled: 0 MB, 140.50 / 0.00 ms  (average mu = 0.909, current mu = 0.833) allocation failure;
7:26:13 PM: FATAL ERROR: invalid array length Allocation failed - JavaScript heap out of memory
7:26:13 PM: ----- Native stack trace -----
7:26:13 PM:  1: 0xf1f241 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
7:26:13 PM:  2: 0x13563a0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
7:26:13 PM:  3: 0x135648f v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
7:26:13 PM:  4: 0x15ecad5  [node]
7:26:13 PM:  5: 0x1a9b37c  [node]
7:26:13 PM:  6: 0x7f5f1be76636
```
This commit is contained in:
Neko Ayaka
2025-07-14 19:31:00 +08:00
parent c449df548f
commit b21f4b4da7
5 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ command = "pnpm -F @proj-airi/ui-transitions run build && pnpm -F @proj-airi/ui-
publish = "/packages/ui-transitions/playground/dist"
[build.environment]
NODE_VERSION = "24"
NODE_VERSION = "24.3.0"
NODE_OPTIONS = "--max-old-space-size=4096"
[[redirects]]