Skip to content

Storybook fix + React 19 everywhere #2826

Storybook fix + React 19 everywhere

Storybook fix + React 19 everywhere #2826

name: Prisma Migrate Preview DB
on:
pull_request:
branches:
- main
workflow_dispatch:
jobs:
migrate:
if: ${{ github.actor != 'dependabot[bot]' }}
runs-on: ubuntu-latest
environment: Preview
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Migrate
working-directory: ./apps/hub
env:
DATABASE_URL: "${{ secrets.DATABASE_DIRECT_URL }}"
run: npx prisma migrate deploy