Skip to content

Commit

Permalink
Use node 16 when compiling contract types (#2146)
Browse files Browse the repository at this point in the history
### Description

To address NomicFoundation/hardhat#3877

Also reverts #2140
  • Loading branch information
asaj committed Apr 26, 2023
1 parent 3b121e8 commit 5f72e7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 16

- name: remove submodule locks
run: git submodule foreach rm yarn.lock
Expand Down
2 changes: 1 addition & 1 deletion solidity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"main": "dist/index.js",
"repository": "https://github.com/hyperlane-xyz/hyperlane-monorepo",
"scripts": {
"build": "hardhat compile && hardhat typechain && tsc",
"build": "hardhat compile && tsc",
"lint": "solhint contracts/**/*.sol",
"clean": "hardhat clean && rm -rf ./dist ./cache",
"coverage": "./coverage.sh",
Expand Down

0 comments on commit 5f72e7f

Please sign in to comment.