Skip to content

Merge pull request #14 from alephium/add-your-firsts-example #37

Merge pull request #14 from alephium/add-your-firsts-example

Merge pull request #14 from alephium/add-your-firsts-example #37

Workflow file for this run

name: Unit Test
on:
push:
branches: [master]
pull_request:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: |
pushd docker
docker-compose up -d
popd
SECONDS=0
sleep 5
until curl http://localhost:22973/infos/self-clique
do
if (( SECONDS > 60 ))
then
echo "Alephium full node not working after 1 min..."
exit 1
fi
echo "Waiting..."
sleep 5
done
echo ""
echo "Alephium full node is up"
sleep 5
- run: pushd simple-auction && npm install && npx @alephium/cli test && popd
- run: pushd blind-auction && npm install && npx @alephium/cli test && popd
- run: pushd dynamic-array && npm install && npx @alephium/cli test && popd