Skip to content

Commit

Permalink
build(ci): Increase jest memory limits
Browse files Browse the repository at this point in the history
  • Loading branch information
nonara committed Feb 19, 2024
1 parent 8bfb0b1 commit 9f66ac5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Expand Up @@ -38,6 +38,7 @@ jobs:
run: yarn build

- name: Test
run: yarn test --runInBand=false --maxWorkers=2 --workerIdleMemoryLimit=1700MB # https://github.com/facebook/jest/issues/11956
run: yarn test --runInBand=false --maxWorkers=2 --workerIdleMemoryLimit=2GB # https://github.com/facebook/jest/issues/11956
env:
CI: true
NODE_OPTIONS: --max_old_space_size=4096
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -58,12 +58,12 @@
"@types/jest": "^29.2.0",
"@types/minimatch": "^5.1.2",
"@types/node": "^18.11.2",
"jest": "^29.3.1",
"jest": "^29.7.0",
"prettier": "^2.7.1",
"rimraf": "^5.0.5",
"standard-version": "^9.5.0",
"@types/ts-expose-internals": "npm:ts-expose-internals@4.9.4",
"ts-jest": "^29.0.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.1",
"ts-patch": "^3.1.2",
"typescript": "^5.3.3"
Expand Down

0 comments on commit 9f66ac5

Please sign in to comment.