Constraint for mitochondrial genes #558
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: 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 |