File tree Expand file tree Collapse file tree 9 files changed +32
-8
lines changed
packages/token-distribution Expand file tree Collapse file tree 9 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 1515 - name : Install dependencies
1616 shell : bash
1717 run : yarn --immutable
18- - name : Build
19- shell : bash
20- run : yarn build || yarn build
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: Build
22
33env :
44 CI : true
5+ STUDIO_API_KEY : ${{ secrets.STUDIO_API_KEY }}
56
67on :
78 push :
1718 - name : Checkout
1819 uses : actions/checkout@v4
1920 - name : Set up environment
20- uses : ./.github/actions/setup
21+ uses : ./.github/actions/setup
22+ - name : Build
23+ run : yarn build || yarn build
Original file line number Diff line number Diff line change 2222 uses : actions/checkout@v4
2323 - name : Set up environment
2424 uses : ./.github/actions/setup
25+ - name : Build
26+ run : |
27+ pushd packages/contracts
28+ yarn build || yarn build
2529 - name : Run tests
2630 run : |
2731 pushd packages/contracts
Original file line number Diff line number Diff line change 2222 uses : actions/checkout@v4
2323 - name : Set up environment
2424 uses : ./.github/actions/setup
25+ - name : Build
26+ run : |
27+ pushd packages/data-edge
28+ yarn build
2529 - name : Run tests
2630 run : yarn test
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ name: CI - packages/token-distribution
22
33env :
44 CI : true
5+ STUDIO_API_KEY : ${{ secrets.STUDIO_API_KEY }}
56
67on :
78 push :
2223 uses : actions/checkout@v4
2324 - name : Set up environment
2425 uses : ./.github/actions/setup
26+ - name : Build
27+ run : |
28+ pushd packages/token-distribution
29+ yarn build
2530 - name : Run tests
2631 run : yarn test
Original file line number Diff line number Diff line change 3232 uses : actions/checkout@v4
3333 - name : Set up environment
3434 uses : ./.github/actions/setup
35+ - name : Build
36+ run : |
37+ pushd packages/contracts
38+ yarn build || yarn build
3539 - name : Run e2e tests
3640 run : |
3741 git clone https://github.com/OffchainLabs/nitro-testnode/
Original file line number Diff line number Diff line change 2828 - name : Set up environment
2929 uses : ./.github/actions/setup
3030
31- - name : Compile contracts
32- run : yarn build
31+ - name : Build
32+ run : |
33+ pushd packages/contracts
34+ yarn build || yarn build
3335
3436 - name : Save build artifacts
3537 uses : actions/upload-artifact@v3
4850 uses : actions/checkout@v3
4951 - name : Set up environment
5052 uses : ./.github/actions/setup
53+ - name : Build
54+ run : |
55+ pushd packages/contracts
56+ yarn build || yarn build
5157 - name : Get build artifacts
5258 uses : actions/download-artifact@v3
5359 with :
Original file line number Diff line number Diff line change 11MNEMONIC =
22ETHERSCAN_API_KEY =
33INFURA_KEY =
4+ STUDIO_API_KEY =
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ sources:
22 - name : graph-network
33 handler :
44 graphql :
5- endpoint : https://api .thegraph.com/subgraphs/name/graphprotocol/graph-network-mainnet
5+ endpoint : https://gateway .thegraph.com/api/${STUDIO_API_KEY}/subgraphs/id/9Co7EQe5PgW3ugCUJrJgRv4u9zdEuDJf8NvMWftNsBH8
66 retry : 5
77
88 - name : token-distribution
99 handler :
1010 graphql :
11- endpoint : https://api .thegraph.com/subgraphs/name/graphprotocol/token-distribution
11+ endpoint : https://gateway .thegraph.com/api/${STUDIO_API_KEY}/subgraphs/id/ChfAJn6jQEBjVqtdUiThfG6sWy2Sr5XQPNucE9DkgXSN
1212 retry : 5
1313 transforms :
1414 - autoPagination :
You can’t perform that action at this time.
0 commit comments