From 768c6cc8f23b1cf0eca50c8aaf40f71d8ed374f0 Mon Sep 17 00:00:00 2001 From: Derek Anderson Date: Tue, 9 Jul 2024 16:48:23 -0500 Subject: [PATCH] rearrange test Signed-off-by: Derek Anderson --- .github/workflows/test.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e2178a..677fe60 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,4 +15,16 @@ jobs: node-version: 18 - run: npm i -g yarn - run: yarn + - run: yarn build + - run: cp bls_x64-macos /usr/local/bin/bls + - run: bls components install -y - run: yarn test + - run: | + FILE="/Users/runner/.bls/network/keys/head/identity" + if test -f $FILE; then + echo " exists." + exit 0 + else + echo " does not exist." + exit 1 + fi