From 91a7188f45f1d2659d48a04215c6e1f937b87133 Mon Sep 17 00:00:00 2001 From: mendesfabio Date: Tue, 18 Jun 2024 18:23:47 -0300 Subject: [PATCH 1/2] deploy only to studio --- .github/workflows/graph-beta.yml | 216 ----------------------- .github/workflows/graph-studio-beta.yml | 225 ++++++++++++++++++++++++ .github/workflows/graph-studio.yml | 216 +++++++++++++++++++++++ .github/workflows/graph.yml | 217 ----------------------- 4 files changed, 441 insertions(+), 433 deletions(-) delete mode 100644 .github/workflows/graph-beta.yml delete mode 100644 .github/workflows/graph.yml diff --git a/.github/workflows/graph-beta.yml b/.github/workflows/graph-beta.yml deleted file mode 100644 index 548df009..00000000 --- a/.github/workflows/graph-beta.yml +++ /dev/null @@ -1,216 +0,0 @@ -name: Deploy Hosted Service Betas - -on: - push: - branches: dev - -jobs: - deploy-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.yaml" - deploy-goerli-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets goerli - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-goerli-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.goerli.yaml" - deploy-polygon-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets polygon - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-polygon-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.polygon.yaml" - deploy-polygon-prune-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets polygon-prune - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-polygon-prune-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.polygon.pruned.yaml" - deploy-arbitrum-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets arbitrum - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-arbitrum-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.arbitrum.yaml" - deploy-gnosis-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets gnosis - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-gnosis-chain-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.gnosis.yaml" - deploy-bnb-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets bnb - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-bnbchain-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.bnb.yaml" - deploy-avalanche-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets avalanche - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-avalanche-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.avalanche.yaml" - deploy-optimism-beta: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets optimism - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-optimism-v2-beta" - graph_account: "balancer-labs" - graph_config_file: "subgraph.optimism.yaml" -env: - CI: true diff --git a/.github/workflows/graph-studio-beta.yml b/.github/workflows/graph-studio-beta.yml index 1e2f544d..46344b6a 100644 --- a/.github/workflows/graph-studio-beta.yml +++ b/.github/workflows/graph-studio-beta.yml @@ -5,6 +5,231 @@ on: branches: dev jobs: + deploy-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.yaml" + graph_deploy_studio: true + deploy-goerli-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets goerli + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-goerli-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.goerli.yaml" + graph_deploy_studio: true + deploy-polygon-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets polygon + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-polygon-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.polygon.yaml" + graph_deploy_studio: true + deploy-polygon-prune-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets polygon-prune + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-polygon-prune-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.polygon.pruned.yaml" + graph_deploy_studio: true + deploy-arbitrum-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets arbitrum + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-arbitrum-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.arbitrum.yaml" + graph_deploy_studio: true + deploy-gnosis-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets gnosis + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-gnosis-chain-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.gnosis.yaml" + graph_deploy_studio: true + deploy-bnb-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets bnb + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-bnbchain-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.bnb.yaml" + graph_deploy_studio: true + deploy-avalanche-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets avalanche + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-avalanche-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.avalanche.yaml" + graph_deploy_studio: true + deploy-optimism-beta: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets optimism + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_deploy_key: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_version_label: ${GITHUB_SHA::8} + graph_subgraph_name: "balancer-optimism-v2-beta" + graph_account: "balancer-labs" + graph_config_file: "subgraph.optimism.yaml" + graph_deploy_studio: true deploy-studio-base-testnet-beta: runs-on: ubuntu-latest environment: graph diff --git a/.github/workflows/graph-studio.yml b/.github/workflows/graph-studio.yml index ff3c1943..539478c4 100644 --- a/.github/workflows/graph-studio.yml +++ b/.github/workflows/graph-studio.yml @@ -5,6 +5,222 @@ on: branches: master jobs: + deploy-goerli: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets goerli + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-goerli-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.goerli.yaml" + graph_deploy_studio: true + deploy-mainnet: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.yaml" + graph_deploy_studio: true + deploy-polygon: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets polygon + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-polygon-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.polygon.yaml" + graph_deploy_studio: true + deploy-polygon-pruned: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets polygon-prune + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-polygon-prune-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.polygon.pruned.yaml" + graph_deploy_studio: true + deploy-arbitrum: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets arbitrum + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-arbitrum-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.arbitrum.yaml" + graph_deploy_studio: true + deploy-gnosis: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets gnosis + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-gnosis-chain-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.gnosis.yaml" + graph_deploy_studio: true + deploy-bnb: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets bnb + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-bnbchain-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.bnb.yaml" + graph_deploy_studio: true + deploy-avalanche: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets avalanche + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-avalanche-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.avalanche.yaml" + graph_deploy_studio: true + deploy-optimism: + runs-on: ubuntu-latest + environment: graph + steps: + - uses: actions/checkout@v2 + - name: Install node + uses: actions/setup-node@v1 + with: + node-version: 18 + - name: Install + run: yarn --frozen-lockfile + - name: Assets + run: yarn generate-assets optimism + - name: Codegen + run: yarn codegen + - name: Build + run: yarn build + - uses: balancer-labs/graph-deploy@v0.0.1 + with: + graph_access_token: ${{secrets.GRAPH_NEW_DEPLOY_KEY}} + graph_subgraph_name: "balancer-optimism-v2" + graph_account: "balancer-labs" + graph_config_file: "subgraph.optimism.yaml" + graph_deploy_studio: true deploy-studio-mainnet: runs-on: ubuntu-latest environment: graph diff --git a/.github/workflows/graph.yml b/.github/workflows/graph.yml deleted file mode 100644 index 3fd73771..00000000 --- a/.github/workflows/graph.yml +++ /dev/null @@ -1,217 +0,0 @@ -name: Deploy Hosted Service Prod - -on: - push: - branches: master - -jobs: - deploy-goerli: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets goerli - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-goerli-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.goerli.yaml" - deploy-mainnet: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.yaml" - deploy-polygon: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets polygon - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-polygon-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.polygon.yaml" - deploy-polygon-pruned: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets polygon-prune - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-polygon-prune-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.polygon.pruned.yaml" - deploy-arbitrum: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets arbitrum - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-arbitrum-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.arbitrum.yaml" - deploy-gnosis: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets gnosis - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-gnosis-chain-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.gnosis.yaml" - deploy-bnb: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets bnb - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-bnbchain-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.bnb.yaml" - deploy-avalanche: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets avalanche - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-avalanche-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.avalanche.yaml" - deploy-optimism: - runs-on: ubuntu-latest - environment: graph - steps: - - uses: actions/checkout@v2 - - name: Install node - uses: actions/setup-node@v1 - with: - node-version: 18 - - name: Install - run: yarn --frozen-lockfile - - name: Assets - run: yarn generate-assets optimism - - name: Codegen - run: yarn codegen - - name: Build - run: yarn build - - uses: balancer-labs/graph-deploy@v0.0.1 - with: - graph_access_token: ${{secrets.GRAPH_ACCESS_TOKEN}} - graph_subgraph_name: "balancer-optimism-v2" - graph_account: "balancer-labs" - graph_config_file: "subgraph.optimism.yaml" - -env: - CI: true From 64e2b7b40430db2f138b353e0d25eb14a939acef Mon Sep 17 00:00:00 2001 From: mendesfabio Date: Tue, 18 Jun 2024 18:25:26 -0300 Subject: [PATCH 2/2] bump node to 18 --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53b6d2a3..cd717c3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - name: Install node uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - name: Install run: yarn --frozen-lockfile - name: Codegen @@ -28,7 +28,7 @@ jobs: - name: Install node uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - name: Install run: yarn --frozen-lockfile - name: Lint