Skip to content

Constraint for mitochondrial genes #559

Constraint for mitochondrial genes

Constraint for mitochondrial genes #559

name: GraphQL API CI
on:
push:
branches:
- main
paths:
- 'graphql-api/**'
- 'dataset-metadata/**'
- 'package.json'
- 'pnpm-lock.yaml'
pull_request:
paths:
- 'graphql-api/**'
- 'dataset-metadata/**'
- 'package.json'
- 'pnpm-lock.yaml'
- '.github/workflows/**'
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: ^8.8.0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '^18.17.1'
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run ESLint
run: pnpm eslint graphql-api
- name: Type check
run: pnpm ts-node ./browser/build/buildHelp.ts && pnpm typecheck
- name: Run tests
run: pnpm jest --selectProjects graphql-api