aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
blob: 1ce6166e58fe85e56652f649f97cd376a3176cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
name: Lint

on: [push, pull_request]

jobs:
  build:
    name: Lint
    runs-on: ubuntu-latest
    steps:
        - uses: actions/checkout@v1
        - uses: actions/setup-node@v2
          with:
            node-version: '16'
            cache: 'yarn'
        - name: Install dependencies
          run: yarn install
        - name: Generate Prisma client
          run: yarn prisma generate
        - name: Run lint
          run: yarn lint