-
Notifications
You must be signed in to change notification settings - Fork 6
45 lines (40 loc) · 1.34 KB
/
checks.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
name: Check all
on:
pull_request:
jobs:
check-all:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Install dependencies
run: yarn --immutable
- name: Check Lint
run: yarn lint
- name: Build
run: yarn build
env:
RPC_PROVIDER_URL_1: ${{ vars.RPC_PROVIDER_URL_1 }}
RPC_PROVIDER_URL_5: ${{ vars.RPC_PROVIDER_URL_5 }}
RPC_PROVIDER_URL_17000: ${{ vars.RPC_PROVIDER_URL_17000 }}
RPC_PROVIDER_URL_11155111: ${{ vars.RPC_PROVIDER_URL_11155111 }}
WALLETCONNECT_PROJECT_ID: ${{ vars.WALLETCONNECT_PROJECT_ID }}
SUPPORTED_CHAINS: ${{ vars.SUPPORTED_CHAINS }}
DEFAULT_CHAIN: ${{ vars.DEFAULT_CHAIN }}
- name: Check types
run: yarn types
- name: Tests
run: yarn test
env:
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}
TEST_CHAIN_ID: ${{ vars.TEST_CHAIN_ID }}
TEST_RPC_URL: ${{ secrets.TEST_RPC_URL }}
TEST_L2_CHAIN_ID: ${{ vars.TEST_L2_CHAIN_ID }}
TEST_L2_RPC_URL: ${{ secrets.TEST_L2_RPC_URL }}
TEST_SUBGRAPH_URL: ${{ secrets.TEST_SUBGRAPH_URL }}