From 618dc5b0262e587a434433b3b53dd1c0784dc0d3 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 8454cb51..2e538681 100644 --- a/.github/workflows/ci-reusable.yml +++ b/.github/workflows/ci-reusable.yml @@ -53,13 +53,20 @@ jobs: with: node-version: 18.15 - - name: Start Ethereum node with Codex contracts - if: matrix.tests == 'contract' || matrix.tests == 'tools' || matrix.tests == 'all' + - 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 start & ## Part 2 Tests ##