fix: ERC20 total supply should be static. Added swappedSupply with ci… #6
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: ethereum | |
on: [push, pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install packages | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20.x" | |
- run: yarn --ignore-scripts | |
shell: bash | |
working-directory: ./ethereum/fly | |
- name: Create local node and deploy | |
run: | | |
cp .env.github .env && | |
yarn hardhat node & | |
sleep 2 && | |
yarn deploy:localhost | |
working-directory: ./ethereum/fly | |
- name: tests | |
run: yarn hardhat test | |
working-directory: ./ethereum/fly |