/
action.yml
51 lines (47 loc) · 1.67 KB
/
action.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
name: Protocol Health Check
description: Check the state of the Unlock Protocol across all chains
env:
DOCKER_BUILDKIT: 1
BUILDKIT_PROGRESS: plain
SENTRY_LOG_LEVEL: info
runs:
using: "composite"
steps:
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn
shell: bash
- run: yarn build
shell: bash
- name: Install Sentry CLI
shell: bash
run: npm install @sentry/cli -g
- name: Sentry CLI login
shell: bash
run: sentry-cli login --auth-token $SENTRY_AUTH_TOKEN
- name: Check networks package
run: |
yarn workspace @unlock-protocol/networks check >> networks.log
sentry-cli send-event -m "Networks" --logfile networks.log
shell: bash
- name: Check tokens in networks package
run: |
yarn workspace @unlock-protocol/networks check-tokens >> networks-tokens.log
sentry-cli send-event -m "Networks Tokens" --logfile networks-tokens.log
shell: bash
- name: Check Unlock info
run: |
yarn workspace @unlock-protocol/governance check >> governance.log
sentry-cli send-event -m "Governance" --logfile governance.log
shell: bash
- name: Check Subgraphs
run: |
yarn workspace @unlock-protocol/subgraph check >> subgraph.log
sentry-cli send-event -m "Subgraph" --logfile subgraph.log
shell: bash
- name: Check Team Multisigs
run: |
yarn workspace @unlock-protocol/governance check:multisig >> multisig.log
sentry-cli send-event -m "Multisig" --logfile multisig.log
shell: bash