chore(email): remove unused dependency on @trycompai/ui (#1952) #893
This file contains hidden or 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: Database Migrations Main | |
| on: | |
| push: # Runs AFTER merge to main (never during PR review!) | |
| branches: | |
| - main | |
| workflow_dispatch: # Allows manual triggering | |
| jobs: | |
| migrate: | |
| name: Run Database Migrations | |
| runs-on: warp-ubuntu-latest-arm64-4x | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v1 | |
| with: | |
| bun-version: latest | |
| - name: Install DB dependencies | |
| working-directory: packages/db | |
| run: bun install --frozen-lockfile --ignore-scripts | |
| - name: Apply database migrations | |
| env: | |
| DATABASE_URL: ${{ secrets.DATABASE_URL_DEV }} | |
| working-directory: packages/db | |
| run: bunx prisma migrate deploy |