fix: ci #222
Workflow file for this run
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 | |
- name: tests | |
run: yarn hardhat test | |
working-directory: ./ethereum | |
- name: Create local node and deploy | |
run: | | |
cp .env.github .env | |
yarn compile | |
yarn hardhat node & | |
sleep 2 | |
yarn deploy:localhost ekoke | |
yarn deploy:localhost deferred | |
yarn deploy:localhost --ekoke 0x0000000000000000000000000000000000000000 --deferred 0x0000000000000000000000000000000000000000 reward-pool | |
yarn deploy:localhost --ekoke 0x0000000000000000000000000000000000000000 --deferred 0x0000000000000000000000000000000000000000 --usderc20 0x0000000000000000000000000000000000000000 marketplace | |
working-directory: ./ethereum |