From a4fe8684cc3943428f163d5567ec58319f7d775b Mon Sep 17 00:00:00 2001 From: magecnion Date: Tue, 31 Oct 2023 12:50:45 +0100 Subject: [PATCH] fix ci --- .github/workflows/build.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41fff60ff..30e97ee54 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -135,6 +135,15 @@ jobs: ./zombienet-linux-x64 spawn ./ownership-chain/zombienet/native.toml -p native & echo "Zombienet started" + - name: Wait for ZombieNet + run: | + timeout 5m bash -c ' + until $(curl --output /dev/null --silent --head --fail http://localhost:9999); + do + printf "."; + sleep 5; + done' || true + - name: Use Node.js 18 uses: actions/setup-node@v3 with: