From 4fd3ee987762a52d6b4d65e9b8d23b8bfb853cab Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 23 Jan 2025 10:26:47 +1100 Subject: [PATCH] npm install to install the hardhat binary in CI --- .github/workflows/ci-reusable.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-reusable.yml b/.github/workflows/ci-reusable.yml index 25b019d3..7dca23ca 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -54,13 +54,20 @@ jobs: with: node-version: 22 - - name: Start Ethereum node with Codex contracts + - name: Install Ethereum node dependencies + if: matrix.tests == 'contract' || matrix.tests == 'integration' || matrix.tests == 'tools' || matrix.tests == 'all' + working-directory: vendor/codex-contracts-eth + env: + MSYS2_PATH_TYPE: inherit + run: | + npm install + + - name: Run Ethereum node with Codex contracts if: matrix.tests == 'contract' || matrix.tests == 'tools' || matrix.tests == 'all' working-directory: vendor/codex-contracts-eth env: MSYS2_PATH_TYPE: inherit run: | - npm ci npm start & # Wait for the contracts to be deployed sleep 5