-
Notifications
You must be signed in to change notification settings - Fork 83
77 lines (57 loc) · 3.07 KB
/
compute-roots.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
name: Compute merkle roots
on:
push:
branches-ignore:
- 'master'
jobs:
run:
name: Compute merkle roots
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Install dependencies
run: yarn install
- name: Install dependencies
run: yarn build
- name: Calculate roots for BAL
run: NETWORK=homestead yarn merkle-roots --outfile ./reports/_roots.json
- name: Calculate roots for BAL on arbitrum
run: NETWORK=arbitrum yarn merkle-roots --outfile ./reports/_roots-arbitrum.json
- name: Calculate roots for BAL on polygon
run: NETWORK=polygon yarn merkle-roots --outfile ./reports/_roots-polygon.json
- name: Calculate roots for BANK
run: NETWORK=homestead-bankless yarn merkle-roots --outfile ./reports/_roots-bankless.json
- name: Calculate roots for NOTE
run: NETWORK=homestead-note yarn merkle-roots --outfile ./reports/_roots-note.json
- name: Calculate roots for VITA
run: NETWORK=homestead-vita yarn merkle-roots --outfile ./reports/_roots-vita.json
- name: Calculate roots for NEXO
run: NETWORK=homestead-nexo yarn merkle-roots --outfile ./reports/_roots-nexo.json
- name: Calculate roots for D2D
run: NETWORK=homestead-d2d yarn merkle-roots --outfile ./reports/_roots-d2d.json
- name: Calculate roots for TUSD on polygon
run: NETWORK=polygon-tusd yarn merkle-roots --outfile ./reports/_roots-tusd-polygon.json
- name: Calculate roots for TEL on polygon
run: NETWORK=polygon-telcoin yarn merkle-roots --outfile ./reports/_roots-telcoin-polygon.json
- name: Calculate roots for QI on polygon
run: NETWORK=polygon-qi yarn merkle-roots --outfile ./reports/_roots-qi-polygon.json
- name: Calculate roots for LDO on polygon
run: NETWORK=polygon-ldo yarn merkle-roots --outfile ./reports/_roots-ldo-polygon.json
- name: Calculate roots for WMATIC on polygon
run: NETWORK=polygon-wmatic yarn merkle-roots --outfile ./reports/_roots-wmatic-polygon.json
- name: Calculate roots for MCB on arbitrum
run: NETWORK=arbitrum-mcdex yarn merkle-roots --outfile ./reports/_roots-mcdex-arbitrum.json
- name: Calculate roots for PICKLE on arbitrum
run: NETWORK=arbitrum-pickle yarn merkle-roots --outfile ./reports/_roots-pickle-arbitrum.json
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
author_name: Merkle Root Bot
author_email: [email protected]
message: 'Computed roots for reports'
add: './reports/_roots*.json'