Skip to content

Commit 7be163f

Browse files
committed
build(ci): Increase jest memory limits
1 parent 12e1706 commit 7be163f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
run: yarn build
3939

4040
- name: Test
41-
run: yarn test --runInBand=false --maxWorkers=2 --workerIdleMemoryLimit=1700MB # https://github.com/facebook/jest/issues/11956
41+
run: yarn test --runInBand=false --maxWorkers=2 --workerIdleMemoryLimit=2GB # https://github.com/facebook/jest/issues/11956
4242
env:
4343
CI: true
44+
NODE_OPTIONS: --max_old_space_size=4096

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@
5858
"@types/jest": "^29.2.0",
5959
"@types/minimatch": "^5.1.2",
6060
"@types/node": "^18.11.2",
61-
"jest": "^29.3.1",
61+
"jest": "^29.7.0",
6262
"prettier": "^2.7.1",
6363
"rimraf": "^5.0.5",
6464
"standard-version": "^9.5.0",
6565
"@types/ts-expose-internals": "npm:ts-expose-internals@4.9.4",
66-
"ts-jest": "^29.0.3",
66+
"ts-jest": "^29.1.2",
6767
"ts-node": "^10.9.1",
6868
"ts-patch": "^3.1.2",
6969
"typescript": "^5.3.3"

0 commit comments

Comments
 (0)