From 5852bd7819c6e35dfc931cd41e5801511b6944f9 Mon Sep 17 00:00:00 2001 From: Jackson Roberts Date: Wed, 25 Feb 2026 22:34:16 -0600 Subject: [PATCH] remove migration drift check --- .github/workflows/build-and-publish.yaml | 38 ------------------------ 1 file changed, 38 deletions(-) diff --git a/.github/workflows/build-and-publish.yaml b/.github/workflows/build-and-publish.yaml index a55bae6..52f518d 100644 --- a/.github/workflows/build-and-publish.yaml +++ b/.github/workflows/build-and-publish.yaml @@ -5,46 +5,8 @@ on: types: [created] jobs: - check-migrations: - name: Check for Missing Migrations - runs-on: ubuntu-latest - services: - shadow-db: - image: postgres:17 - env: - POSTGRES_USER: prisma - POSTGRES_PASSWORD: prisma - POSTGRES_DB: shadow - ports: - - 5432:5432 - options: >- - --health-cmd="pg_isready -U prisma" - --health-interval=5s - --health-timeout=5s - --health-retries=5 - steps: - - name: Checkout source code - uses: actions/checkout@v4 - - - name: Setup Bun - uses: oven-sh/setup-bun@v2 - - - name: Install dependencies - run: bun install --frozen-lockfile - - - name: Check for schema drift - run: | - bunx prisma migrate diff \ - --from-migrations prisma/migrations \ - --to-schema prisma/schema.prisma \ - --shadow-database-url "postgresql://prisma:prisma@localhost:5432/shadow" \ - --exit-code - env: - DATABASE_URL: "postgresql://prisma:prisma@localhost:5432/shadow" - build: name: Build - needs: [check-migrations] runs-on: ubuntu-latest permissions: contents: read