-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (42 loc) · 1.15 KB
/
all.yaml
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
name: Build
on:
push:
branches: ['*', '!master', '!dev', '!qa']
jobs:
build_test_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
cache: npm
node-version: 16
registry-url: 'https://npm.pkg.github.com'
scope: '@oriumnetwork'
- name: Install Dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GHB_TOKEN }}
# Goerli
- name: Goerli Code Generator
run: npm run codegen-goerli
- name: Goerli Build
run: npm run build-goerli
# - name: Goerli Test
# run: npm run test-goerli
# Mumbai
- name: Mumbai Code Generator
run: npm run codegen-mumbai
- name: Mumbai Build
run: npm run build-mumbai
- name: Mumbai Test
run: npm run test-mumbai
# Polygon
- name: Polygon Code Generator
run: npm run codegen-matic
- name: Polygon Build
run: npm run build-matic
- name: Polygon Test
run: npm run test-matic