Fix CI (#408)
* [CI] workaround for hardhat crash See: https://github.com/NomicFoundation/hardhat/issues/3877 * [ci] use nodejs from windows PATH
This commit is contained in:
parent
d56eb6aee1
commit
5ce655db47
|
@ -47,12 +47,17 @@ jobs:
|
||||||
- name: Unit tests
|
- name: Unit tests
|
||||||
run: make -j${ncpu} test
|
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
|
- name: Start Ethereum node with Codex contracts
|
||||||
working-directory: vendor/codex-contracts-eth
|
working-directory: vendor/codex-contracts-eth
|
||||||
|
env:
|
||||||
|
MSYS2_PATH_TYPE: inherit
|
||||||
run: |
|
run: |
|
||||||
if [[ '${{ matrix.os }}' == 'windows' ]]; then
|
|
||||||
export PATH="${PATH}:/c/program files/nodejs"
|
|
||||||
fi
|
|
||||||
npm install
|
npm install
|
||||||
npm start &
|
npm start &
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue