diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index 96f40b9..1dcd3fe 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -47,10 +47,8 @@ jobs: - name: Install dependencies run: npm install - - name: Install Graph CLI - run: | - npm install -g @graphprotocol/graph-cli - graph auth https://api.thegraph.com/deploy/ ${{ secrets.THEGRAPH_TOKEN }} + - name: Authenticate to Graph Service + run: npx run graph auth https://api.thegraph.com/deploy/ ${{ secrets.THEGRAPH_TOKEN }} - name: Deploy Subgraphs env: diff --git a/package.json b/package.json index a5622cb..e0e631d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stakewise-subgraphs", - "version": "1.4.0", + "version": "1.4.1", "description": "Subgraphs for the StakeWise Protocol", "repository": "https://github.com/stakewise/subgraphs", "license": "AGPL-3.0-only", diff --git a/packages/constants/package.json b/packages/constants/package.json index 24fdf6b..93961d2 100644 --- a/packages/constants/package.json +++ b/packages/constants/package.json @@ -1,6 +1,6 @@ { "name": "const", - "version": "1.4.0", + "version": "1.4.1", "license": "AGPL-3.0-only", "main": "index.ts", "type": "module", diff --git a/subgraphs/ethereum/package.json b/subgraphs/ethereum/package.json index 7c68f84..627bcaa 100644 --- a/subgraphs/ethereum/package.json +++ b/subgraphs/ethereum/package.json @@ -1,6 +1,6 @@ { "name": "ethereum", - "version": "1.4.0", + "version": "1.4.1", "license": "AGPL-3.0-only", "scripts": { "prepare:goerli": "npm run --prefix=../../packages/constants prepare:goerli && mustache config/goerli.json subgraph.template.yaml > subgraph.yaml", @@ -10,12 +10,12 @@ "prepare:mainnet": "npm run --prefix=../../packages/constants prepare:mainnet && mustache config/mainnet.json subgraph.template.yaml > subgraph.yaml", "build:mainnet": "npm run prepare:mainnet && graph codegen subgraph.yaml && graph build subgraph.yaml", "create:mainnet:local": "graph create --node $GRAPH_MAINNET_URL stakewise/ethereum", - "deploy:mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.0 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/ethereum", + "deploy:mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.1 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/ethereum", "prepare:gnosis": "npm run --prefix=../../packages/constants prepare:gnosis && mustache config/gnosis.json subgraph.template.yaml > subgraph.yaml", "build:gnosis": "npm run prepare:gnosis && graph codegen subgraph.yaml && graph build subgraph.yaml", "deploy:gnosis": "npm run build:gnosis && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/ethereum-gnosis", "create:gnosis:local": "graph create --node $GRAPH_GNOSIS_URL stakewise/ethereum", - "deploy:gnosis:local": "npm run build:gnosis && npm run create:gnosis:local && graph deploy --version-label 1.4.0 --node $GRAPH_GNOSIS_URL --ipfs $IPFS_GNOSIS_URL stakewise/ethereum" + "deploy:gnosis:local": "npm run build:gnosis && npm run create:gnosis:local && graph deploy --version-label 1.4.1 --node $GRAPH_GNOSIS_URL --ipfs $IPFS_GNOSIS_URL stakewise/ethereum" } } diff --git a/subgraphs/stakewise/package.json b/subgraphs/stakewise/package.json index 893ddbb..9a0a671 100644 --- a/subgraphs/stakewise/package.json +++ b/subgraphs/stakewise/package.json @@ -1,6 +1,6 @@ { "name": "stakewise", - "version": "1.4.0", + "version": "1.4.1", "license": "AGPL-3.0-only", "scripts": { "prepare:goerli": "npm run --prefix=../../packages/constants prepare:goerli && mustache config/goerli.json subgraph.template.yaml > subgraph.yaml", @@ -11,7 +11,7 @@ "build:mainnet": "npm run prepare:mainnet && graph codegen subgraph.yaml && graph build subgraph.yaml", "deploy:mainnet": "npm run build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/stakewise-mainnet", "create:mainnet:local": "graph create --node $GRAPH_MAINNET_URL stakewise/stakewise", - "deploy:mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.0 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/stakewise", + "deploy:mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.1 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/stakewise", "prepare:harbour_goerli": "npm run --prefix=../../packages/constants prepare:harbour_goerli && mustache config/harbour_goerli.json subgraph.template.yaml > subgraph.yaml", "build:harbour_goerli": "npm run prepare:harbour_goerli && graph codegen subgraph.yaml && graph build subgraph.yaml", @@ -21,12 +21,12 @@ "build:harbour_mainnet": "npm run prepare:harbour_mainnet && graph codegen subgraph.yaml && graph build subgraph.yaml", "deploy:harbour_mainnet": "npm run build:harbour_mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/stakewise-harbour-mainnet", "create:harbour_mainnet:local": "graph create --node $GRAPH_MAINNET_URL stakewise/stakewise-harbour", - "deploy:harbour_mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.0 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/stakewise-harbour", + "deploy:harbour_mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.1 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/stakewise-harbour", "prepare:gnosis": "npm run --prefix=../../packages/constants prepare:gnosis && mustache config/gnosis.json subgraph.template.yaml > subgraph.yaml", "build:gnosis": "npm run prepare:gnosis && graph codegen subgraph.yaml && graph build subgraph.yaml", "deploy:gnosis": "npm run build:gnosis && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/stakewise-gnosis", "create:gnosis:local": "graph create --node $GRAPH_GNOSIS_URL stakewise/stakewise", - "deploy:gnosis:local": "npm run build:gnosis && npm run create:gnosis:local && graph deploy --version-label 1.4.0 --node $GRAPH_GNOSIS_URL --ipfs $IPFS_GNOSIS_URL stakewise/stakewise" + "deploy:gnosis:local": "npm run build:gnosis && npm run create:gnosis:local && graph deploy --version-label 1.4.1 --node $GRAPH_GNOSIS_URL --ipfs $IPFS_GNOSIS_URL stakewise/stakewise" } } diff --git a/subgraphs/uniswap-v3/package.json b/subgraphs/uniswap-v3/package.json index 5fffb0e..8d0b87c 100644 --- a/subgraphs/uniswap-v3/package.json +++ b/subgraphs/uniswap-v3/package.json @@ -1,6 +1,6 @@ { "name": "uniswap-v3", - "version": "1.4.0", + "version": "1.4.1", "license": "AGPL-3.0-only", "scripts": { "prepare:goerli": "npm run --prefix=../../packages/constants prepare:goerli && mustache config/goerli.json subgraph.template.yaml > subgraph.yaml", @@ -11,6 +11,6 @@ "build:mainnet": "npm run prepare:mainnet && graph codegen subgraph.yaml && graph build subgraph.yaml", "deploy:mainnet": "npm run build:mainnet && graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ stakewise/uniswap-v3-mainnet", "create:mainnet:local": "graph create --node $GRAPH_MAINNET_URL stakewise/uniswap-v3", - "deploy:mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.0 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/uniswap-v3" + "deploy:mainnet:local": "npm run build:mainnet && npm run create:mainnet:local && graph deploy --version-label 1.4.1 --node $GRAPH_MAINNET_URL --ipfs $IPFS_MAINNET_URL stakewise/uniswap-v3" } }