Skip to content

Commit

Permalink
ensure correctly working in CI env
Browse files Browse the repository at this point in the history
  • Loading branch information
arr00 committed Dec 23, 2024
1 parent e2b31e5 commit 419325f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"prepack": "scripts/prepack.sh",
"generate": "scripts/generate/run.js",
"version": "scripts/release/version.sh",
"test": ". scripts/set-max-old-space-size.sh && hardhat test",
"test": ". scripts/set-max-old-space-size.sh && echo $NODE_OPTIONS && hardhat test",
"test:generation": "scripts/checks/generation.sh",
"test:inheritance": "scripts/checks/inheritance-ordering.js artifacts/build-info/*",
"test:pragma": "scripts/checks/pragma-consistency.js artifacts/build-info/*",
Expand Down
2 changes: 1 addition & 1 deletion scripts/set-max-old-space-size.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
export NODE_OPTIONS="${NODE_OPTIONS:-}"

if [ "$NODE_OPTIONS" != *"--max-old-space-size"* ]; then
export NODE_OPTIONS="${NODE_OPTIONS} --max-old-space-size=8192"
export NODE_OPTIONS="${NODE_OPTIONS} --max-old-space-size=8000"
fi

0 comments on commit 419325f

Please sign in to comment.