Skip to content

React typescript

React typescript #164

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@v3
with:
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: |
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