Skip to content

Merge pull request #16 from unicef/develop #10

Merge pull request #16 from unicef/develop

Merge pull request #16 from unicef/develop #10

Workflow file for this run

name: unit-test
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install --no-warnings
- name: Compile contracts
run: npx hardhat compile
- name: Test deploy harhat
run: npx hardhat node & npx hardhat run --network hardhat scripts/deployAllWithMock.ts
- name: Run tests
run: npx hardhat test