Fix build #5
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: 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 |