Skip to content

Upgrade to Fed 2.8

Upgrade to Fed 2.8 #44

Workflow file for this run

name: pr-check-code
on: pull_request
env:
APOLLO_KEY: ${{ secrets.APOLLO_KEY }}
APOLLO_VCS_COMMIT: ${{ github.event.pull_request.head.sha }}
jobs:
npm-build:
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v3
- uses: apollosolutions/rover-actions/install-rover-cli@v1
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
cache: "npm"
- run: npm ci
- run: npm test
schema-checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: apollosolutions/rover-actions/install-rover-cli@v1
- name: Check accounts subgraph
run: |
rover subgraph check apollo-financial-supergraph@prod \
--name accounts \
--schema ./subgraphs/accounts/schema.graphql
- name: Check credit subgraph
run: |
rover subgraph check apollo-financial-supergraph@prod \
--name credit \
--schema ./subgraphs/credit/schema.graphql
- name: Check risk subgraph
run: |
rover subgraph check apollo-financial-supergraph@prod \
--name risk \
--schema ./subgraphs/risk/schema.graphql
- name: Check transactions subgraph
run: |
rover subgraph check apollo-financial-supergraph@prod \
--name transactions \
--schema ./subgraphs/transactions/schema.graphql
- name: Check users subgraph
run: |
rover subgraph check apollo-financial-supergraph@prod \
--name users \
--schema ./subgraphs/users/schema.graphql