Skip to content

chore(deps): replace dependency apollo-server with @apollo/server 4.0.0 #2559

chore(deps): replace dependency apollo-server with @apollo/server 4.0.0

chore(deps): replace dependency apollo-server with @apollo/server 4.0.0 #2559

Workflow file for this run

name: Test and Build
on:
push:
branches:
- main
pull_request:
jobs:
install:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 17.x, 18.x, 19.x]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: yarn cache directory
id: yarn-cache
run: echo "::set-output name=dir::$(yarn config get cacheFolder)"
- name: Setup node_modules cache
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install --immutable
- name: Check for unmet constraints (fix w/ "yarn constraints --fix")
run: yarn constraints
- name: Lint
run: yarn lint
- name: Spell check
uses: streetsidesoftware/cspell-action@main
with:
files: '**/*.{md,ts}'
- name: Build
run: yarn build
- name: Test
if: startsWith(matrix.node-version , '19') != true
run: yarn test:ci
- name: Test (with coverage)
if: startsWith(matrix.node-version, '19')
run: yarn test:ci:coverage