Skip to content

Commit 720e94b

Browse files
Set Node.js version to 18.15.0
We want to prevent the problem with generation of artifacts during execution of the `hardhat compile` command (part of `yarn deploy`). We saw in other project that sometimes command was not not generating expected artifacts. The problem is caused by the process silently quitting, which is related to the used version of Node (as descibed in NomicFoundation/hardhat#3877). We've confirmed the problem is reproducible on `v18.16.0`, now we're downgrading to `v18.15.0` to fix the issue.
1 parent 3592b22 commit 720e94b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/npm.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ jobs:
2020

2121
- uses: actions/setup-node@v3
2222
with:
23-
node-version: "18.x"
23+
# Using fixed version, because 18.16 may cause issues with the
24+
# artifacts generation during `hardhat compile` - see
25+
# https://github.com/NomicFoundation/hardhat/issues/3877.
26+
node-version: "18.15.0"
2427
registry-url: "https://registry.npmjs.org"
2528
cache: "yarn"
2629

0 commit comments

Comments
 (0)