From 04c42ea37e07fcf58dc25e04433cf903b73a6e04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Thu, 27 Apr 2023 15:59:36 +0200 Subject: [PATCH] ci: have properly setupped nodejs --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0d635745..8e823d39 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,6 +37,10 @@ jobs: with: submodules: recursive + - uses: actions/setup-node@v3 + with: + node-version: 18 + - name: Setup Nimbus Build System uses: ./.github/actions/nimbus-build-system with: @@ -55,7 +59,7 @@ jobs: fi npm ci npm start -- --verbose & - for i in {1..50}; do curl -s http://localhost:8545/ -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}' && break || (echo "Waiting for blockchain to startup" && sleep 1) ; done + for i in {1..60}; do curl -s http://localhost:8545/ -X POST -H "Content-Type: application/json" --data '{"method":"eth_chainId","params":[],"id":1,"jsonrpc":"2.0"}' && break || (echo "Waiting for blockchain to startup" && sleep 1) ; done - name: Contract tests run: make -j${ncpu} testContracts