Skip to content

Commit c6c8946

Browse files
committed
ci: increase --max-old-space-size value
1 parent aebe65f commit c6c8946

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
node-version: 24
4343
- run: npm install
4444
- run: npm install typescript@${{ matrix.typescript-version }}
45-
- run: NODE_OPTIONS="--max-old-space-size=5120" npx tsc
45+
- run: NODE_OPTIONS="--max-old-space-size=6144" npx tsc

.github/workflows/ts-canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ jobs:
2323
- run: npm install typescript@${{ matrix.typescript-version }}
2424
- name: show installed typescript version
2525
run: npm list typescript --depth=0
26-
- run: NODE_OPTIONS="--max-old-space-size=5120" npx tsc
26+
- run: NODE_OPTIONS="--max-old-space-size=8192" npx tsc

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"node": ">=20"
2626
},
2727
"scripts": {
28-
"test:tsc": "node --max-old-space-size=5120 ./node_modules/.bin/tsc",
29-
"test:tsd": "tsd",
28+
"test:tsc": "node --max-old-space-size=6144 ./node_modules/.bin/tsc",
29+
"test:tsd": "node --max-old-space-size=6144 ./node_modules/.bin/tsd",
3030
"test:xo": "xo",
3131
"test:linter": "node --test",
3232
"test": "run-p test:*"

0 commit comments

Comments
 (0)