More Secure Collection Id #204
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Unit-Test | |
on: | |
pull_request: | |
push: | |
branches: | |
- upgrade-web3-stack | |
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@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: build images | |
working-directory: . | |
run: yarn && ./build-docker-images.sh devnet | |
- name: start ALPH docker image | |
working-directory: ./docker | |
run: docker-compose up -d | |
- name: Run tests | |
run: | | |
yarn | |
yarn run deploy:contracts | |
yarn run test:contracts |