Skip to content

New schemas for login #69

New schemas for login

New schemas for login #69

name: Check Database Migrations
on:
pull_request:
jobs:
check-migrations:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:15
env:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_DB: 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: Check migrations
run: bun db:migrate:check postgres://user:password@localhost:5432/db