build(deps): bump graphql from 16.5.0 to 16.8.1 #167
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
jobs: | |
unit-and-integration-tests: | |
name: Unit and integration tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 8 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Cache dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ${{ github.workspace }}/node_modules | |
key: ${{ runner.os }}-dependencies-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-dependencies- | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Check formatting style, lint code and check types | |
run: yarn concurrently 'yarn types:check' 'yarn lint . --max-warnings=0' 'yarn style:check .' | |
- name: Run tests | |
run: yarn test:ci |