Skip to content

Bump @prisma/client from 6.19.3 to 7.8.0 #37

Bump @prisma/client from 6.19.3 to 7.8.0

Bump @prisma/client from 6.19.3 to 7.8.0 #37

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build-test:
name: Lint · Typecheck · Test · Build
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16-alpine
env:
POSTGRES_USER: ocl
POSTGRES_PASSWORD: ocl
POSTGRES_DB: ocl_test
ports:
- 5432:5432
options: >-
--health-cmd "pg_isready -U ocl"
--health-interval 5s
--health-timeout 5s
--health-retries 10
env:
DATABASE_URL: postgresql://ocl:ocl@localhost:5432/ocl_test
steps:
- uses: actions/checkout@v4
# No `version:` here — pnpm is pinned via the root package.json `packageManager`
# field. Specifying both makes pnpm/action-setup fail with a version conflict.
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build shared package
run: pnpm --filter @opencoperlock/shared build
- name: Generate Prisma client
run: pnpm --filter @opencoperlock/api prisma:generate
- name: Typecheck
run: pnpm -r typecheck
- name: Lint
run: pnpm -r lint
- name: Test (unit + integration)
run: pnpm -r test
- name: Build (web + api)
run: pnpm --filter @opencoperlock/api build && pnpm --filter @opencoperlock/web build
env:
NEXT_PUBLIC_API_URL: http://localhost:4000
docker:
name: Docker image build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
- name: Build API image
uses: docker/build-push-action@v6
with:
context: .
file: infra/Dockerfile.api
push: false
- name: Build Web image
uses: docker/build-push-action@v6
with:
context: .
file: infra/Dockerfile.web
push: false
build-args: |
NEXT_PUBLIC_API_URL=http://localhost:4000