Skip to content

updating min node version, and bash declare #170

updating min node version, and bash declare

updating min node version, and bash declare #170

Workflow file for this run

name: Run tests
on: [pull_request, workflow_dispatch]
jobs:
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 18
- run: node -v
- 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: |
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
- run: yarn test