aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/type-check.yml
blob: ac61d5bf4dd9ecb3c70557b34725291f193341ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Type Check

on: [push, pull_request]

jobs:
  build:
    name: Type Check
    runs-on: ubuntu-latest
    steps:
        - uses: actions/checkout@v1
        - uses: actions/setup-node@v2
          with:
            node-version: '18'
            cache: 'yarn'
        - name: Install dependencies
          run: yarn install
        - name: Generate Prisma client
          run: yarn prisma generate
        - name: Run type check
          run: yarn tsc