Refactor gateway contract to transfer protocol fee only if it is greater than zero and emit refund address instead of sender #330
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: Solidity unit test | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18.16.0 | |
- name: Install node modules | |
run: yarn install | |
- name: Unit test hardhat | |
run: | | |
npx hardhat node & | |
npx hardhat test |