generated from veeso-dev/rust-template
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (31 loc) · 1.03 KB
/
ethereum.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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: |
cp .env.github .env
yarn compile
yarn 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 0x92fBA9067844A419A1C394197aE406768555F71b --usderc20 0x92fBA9067844A419A1C394197aE406768555F71b ekoke-presale
yarn deploy:localhost --ekoke 0x92fBA9067844A419A1C394197aE406768555F71b --deferred 0x92fBA9067844A419A1C394197aE406768555F71b reward-pool
working-directory: ./ethereum