From 38fa1b62e577d93c110e04962ac61d340df9ef3f Mon Sep 17 00:00:00 2001 From: Vladan Date: Mon, 18 Mar 2024 11:49:45 +0100 Subject: [PATCH] ci: buying stamp before tests --- .github/workflows/tests.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 1e280c8..91ca63f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -58,6 +58,12 @@ jobs: if: steps.cache-npm.outputs.cache-hit != 'true' run: npm ci + - name: Buy stamps + run: curl -s -XPOST http://localhost:1635/stamps/10000000/18 + + - name: Wait to batch become usable + run: sleep 200 + - name: Run unit and integration tests for node run: npm run test:node -- --detectOpenHandles