-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (35 loc) · 1 KB
/
main.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
name: CI
on: [push]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
submodules: 'recursive'
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8.5.0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: '21.1.0'
cache: 'pnpm'
- name: Install deps
run: pnpm install
- name: Build
run: pnpm build
- name: Lint
run: pnpm lint
- name: Start node & test
run: pnpm test
env:
FRACTAL_CLIENT_ID: 'I28eze1-UTsP66nYyBDgiRrGCA7Oe6cRFkl7Gk0Gr1A'
MERKLE_PROOF: ${{secrets.MERKLE_PROOF}}
AIRGRAB_TESTER: ${{secrets.AIRGRAB_TESTER}}
AIRGRAB_TESTER_PK: ${{secrets.AIRGRAB_TESTER_PK}}
RESTRICTED_COUNTRIES: 'CD,CU,GB,IR,KP,ML,MM,SS,SY,US,YE'
DEPLOYER: '0x56fd3f2bee130e9867942d0f463a16fbe49b8d81'