Skip to content

fix: ci

fix: ci #222

Workflow file for this run

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