aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/main.yml
blob: 13d49c3343863b222c1b7186e031b06b1ec30431 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: Build and lint
on:
  push:
    branches:
      - main
jobs:
  build-lint:
    name: Build and Lint
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: oven-sh/setup-bun@v1
      - name: Install deps
        run: bun install --frozen-lockfile
      - name: Lint
        run: bunx eslint .
      - name: Format
        run: bunx prettier . --check
      - name: Build web app
        working-directory: web
        run: |
          bunx prisma generate
          bun run build