Skip to content

Make crud for pages

Make crud for pages #5

Workflow file for this run

name: Prisma Preview
on:
pull_request:
types:
- opened
- synchronize
paths:
- "prisma/**"
jobs:
prisma-preview:
if: >-
github.event.pull_request.user.login != 'renovate' &&
github.event.pull_request.user.login != 'renovate[bot]'
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: "pnpm"
- name: Install dependencies
run: pnpm i --frozen-lockfile
- name: Deploy Migrations
run: pnpm run migrate:deploy
env:
POSTGRES_PRISMA_URL: ${{ secrets.POSTGRES_PRISMA_URL_PREVIEW }}
POSTGRES_URL_NON_POOLING: ${{ secrets.POSTGRES_URL_NON_POOLING_PREVIEW }}