create pr gate workflow (#22)

* create pr gate workflow

* try this
This commit is contained in:
Baobeld 2024-12-19 22:53:12 -05:00 committed by GitHub
parent abc30a2a03
commit 264f6d775d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 29 additions and 11 deletions

23
.github/workflows/pr.yaml vendored Normal file
View file

@ -0,0 +1,23 @@
name: PR Gate
on:
pull_request:
branches: ['*']
jobs:
checks:
name: Checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Bun Setup
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install
run: bun install
- name: Test
run: bun test
- name: Build
run: bun run build
- name: Prisma Schema Check
run: bun prisma:validate