-
Notifications
You must be signed in to change notification settings - Fork 6
/
buildspec.yml
46 lines (46 loc) · 1.81 KB
/
buildspec.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
46
version: 0.2
env:
variables:
COW_AMM_SUBGRAPH: https://api.studio.thegraph.com/proxy/75376/balancer-cow-amm-sepolia/version/latest
V3_SUBGRAPH: https://api.studio.thegraph.com/query/31386/balancer-v3-sepolia-5th/version/latest
V3_POOLS_SUBGRAPH: https://api.studio.thegraph.com/query/31386/balancer-pools-v3-sepolia-5th/version/latest
BALANCER_SUBGRAPH: https://api.studio.thegraph.com/query/75376/balancer-v2/version/latest
MASTERCHEF_SUBGRAPH: https://api.studio.thegraph.com/query/73674/masterchefv2/version/latest
BLOCKS_SUBGRAPH: https://api.studio.thegraph.com/query/48427/ethereum-blocks/version/latest
BEETS_BAR_SUBGRAPH: https://api.studio.thegraph.com/query/73674/beets-bar/version/latest
GAUGE_SUBGRAPH: https://api.studio.thegraph.com/query/75376/balancer-gauges/version/latest
RELIQUARY_SUBGRAPH: https://api.studio.thegraph.com/query/73674/reliquary/version/latest
SFTMX_SUBGRAPH: https://api.studio.thegraph.com/query/73674/sftmx/version/latest
AURA_SUBGRAPH: https://data.aura.finance/graphql
phases:
install:
runtime-versions:
nodejs: 18
commands:
- yarn install
build:
commands:
- yarn generate
- yarn prisma generate
- yarn prisma migrate deploy
- yarn build
- yarn cleanup-console
post_build:
commands:
- rm -fr node_modules
- yarn install --prod
- echo Build completed on `date`
# - echo Pushing to graph cdn
# - npx graphcdn push
cache:
paths:
- 'node_modules/**/*'
artifacts:
files:
- node_modules/**/*
- package.json
- dist/**/*
- Procfile
- cron.yaml
- .platform/**/*
- .ebextensions/**/*