Skip to content

Email verification

Email verification #96

Workflow file for this run

name: Run Bun Tests
on:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
env:
DATABASE_PRISMA_URL: postgres://user:password@localhost:5432/test_db
services:
postgres:
image: postgres:15
env:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: test_db
ports:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: 1.1.27
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Apply database schema
run: bun db:push
- name: Run tests
run: bun test