From 5ce655db4789135fd6d080cceb65244933c68ddc Mon Sep 17 00:00:00 2001 From: markspanbroek Date: Mon, 1 May 2023 16:20:50 +0200 Subject: [PATCH] Fix CI (#408) * [CI] workaround for hardhat crash See: https://github.com/NomicFoundation/hardhat/issues/3877 * [ci] use nodejs from windows PATH --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 305077e9..2cbedf47 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -47,12 +47,17 @@ jobs: - name: Unit tests run: make -j${ncpu} test + # workaround for https://github.com/NomicFoundation/hardhat/issues/3877 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 18.15 + - name: Start Ethereum node with Codex contracts working-directory: vendor/codex-contracts-eth + env: + MSYS2_PATH_TYPE: inherit run: | - if [[ '${{ matrix.os }}' == 'windows' ]]; then - export PATH="${PATH}:/c/program files/nodejs" - fi npm install npm start &