Skip to content

Commit

Permalink
Merge pull request #2 from OriumNetwork/ON-457-roles-subgraph
Browse files Browse the repository at this point in the history
ON-457: Roles subgraph
  • Loading branch information
juo-dev authored Sep 6, 2023
2 parents 0574df5 + 995280c commit 4787e56
Show file tree
Hide file tree
Showing 20 changed files with 1,081 additions and 68 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
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
- name: Code Generator
run: npm run codegen:goerli
- name: Build
run: npm run build:goerli
- name: Test
run: npm run test
19 changes: 9 additions & 10 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ jobs:
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GHB_TOKEN }}
- name: Code Generator
run: npm run codegen:goerli
- name: Build
run: npm run build:goerli
- name: Test
run: npm run test
- name: Subgraph Auth
run: yarn graph-auth -- ${{ secrets.THEGRAPH_API_KEY }}
# Goerli
- name: Code Generator Goerli
run: npm run codegen-goerli
- name: Build Goerli
run: npm run build-goerli
- name: Goerli Test
run: npm run test-goerli
- name: Subgraph Deploy Goerli
run: npm run deploy-goerli
run: yarn graph:auth -- ${{ secrets.THEGRAPH_API_KEY }}
- name: Subgraph Deploy
run: npm run deploy:goerli
19 changes: 9 additions & 10 deletions .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,13 @@ jobs:
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GHB_TOKEN }}
- name: Code Generator
run: npm run codegen:goerli
- name: Build
run: npm run build:goerli
- name: Test
run: npm run test
- name: Subgraph Auth
run: yarn graph-auth -- ${{ secrets.THEGRAPH_API_KEY }}
# Goerli
- name: Code Generator Goerli
run: npm run codegen-goerli
- name: Build Goerli
run: npm run build-goerli
- name: Goerli Test
run: npm run test-goerli
- name: Subgraph Deploy Goerli
run: npm run deploy-goerli
run: yarn graph:auth -- ${{ secrets.THEGRAPH_API_KEY }}
- name: Subgraph Deploy
run: npm run deploy:goerli
17 changes: 10 additions & 7 deletions .github/workflows/qa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@ jobs:
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GHB_TOKEN }}
# Goerli
- name: Code Generator Goerli
run: npm run codegen-goerli
- name: Build Goerli
run: npm run build-goerli
- name: Goerli Test
run: npm run test-goerli
- name: Code Generator
run: npm run codegen:goerli
- name: Build
run: npm run build:goerli
- name: Test
run: npm run test
- name: Subgraph Auth
run: yarn graph:auth -- ${{ secrets.THEGRAPH_API_KEY }}
- name: Subgraph Deploy
run: npm run deploy:goerli
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules
#build
build/
generated/
.DS_Store

#tests
tests/.latest.json
Expand Down
Loading

0 comments on commit 4787e56

Please sign in to comment.