mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-25 14:16:44 +00:00
test hardhat
This commit is contained in:
parent
e3a8bd973c
commit
546e10a151
1 changed files with 21 additions and 7 deletions
28
.github/workflows/ci-build.yaml
vendored
28
.github/workflows/ci-build.yaml
vendored
|
|
@ -24,13 +24,27 @@ jobs:
|
||||||
--health-interval=10s
|
--health-interval=10s
|
||||||
--health-timeout=5s
|
--health-timeout=5s
|
||||||
--health-retries=10
|
--health-retries=10
|
||||||
|
command: >
|
||||||
|
--dev
|
||||||
|
--http --http.addr 0.0.0.0
|
||||||
|
--http.api eth,net,web3
|
||||||
|
--http.corsdomain="*"
|
||||||
|
--http.vhosts="*"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Wait for Geth devnet to be ready
|
- name: Checkout code
|
||||||
run: |
|
uses: actions/checkout@v4
|
||||||
for i in {1..20}; do
|
with:
|
||||||
curl --silent http://localhost:8545 && break
|
ref: master
|
||||||
echo "Waiting for geth..."
|
|
||||||
sleep 3
|
- name: Set up Node.js
|
||||||
done
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: '18'
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: hardhat/package-lock.json
|
||||||
|
|
||||||
|
- name: Install Hardhat dependencies
|
||||||
|
working-directory: ./hardhat
|
||||||
|
run: npm ci
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue