Skip to content

chore(deps): update prisma monorepo to v6 (major) #1578

chore(deps): update prisma monorepo to v6 (major)

chore(deps): update prisma monorepo to v6 (major) #1578

Workflow file for this run

name: CI
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
env:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/test
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [16.x, 18.x, lts/*]
prisma-version: [4.9.0, 4.16.0, latest]
services:
postgres:
image: postgres
env:
POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_DB: postgres
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
ports:
- 5432:5432
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- run: yarn install
- run: yarn add prisma@${{ matrix.prisma-version }}
- run: yarn lint
- run: yarn build
- run: yarn prisma generate
- run: yarn prisma db push
- run: yarn test