From 546e10a151968e960e4866eac2bdf840cd6f4af3 Mon Sep 17 00:00:00 2001 From: Dimitar Manov <99065541+dimitarmanov@users.noreply.github.com> Date: Tue, 10 Jun 2025 18:28:15 +0300 Subject: [PATCH] test hardhat --- .github/workflows/ci-build.yaml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml index ef171bd58d..96c6224428 100644 --- a/.github/workflows/ci-build.yaml +++ b/.github/workflows/ci-build.yaml @@ -24,13 +24,27 @@ jobs: --health-interval=10s --health-timeout=5s --health-retries=10 + command: > + --dev + --http --http.addr 0.0.0.0 + --http.api eth,net,web3 + --http.corsdomain="*" + --http.vhosts="*" steps: - - name: Wait for Geth devnet to be ready - run: | - for i in {1..20}; do - curl --silent http://localhost:8545 && break - echo "Waiting for geth..." - sleep 3 - done + - name: Checkout code + uses: actions/checkout@v4 + with: + ref: master + + - name: Set up Node.js + 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