diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 28c4c6d..e4e0d04 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 diff --git a/package.json b/package.json index 097794b..2357483 100755 --- a/package.json +++ b/package.json @@ -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"