Skip to content

fix: update Drizzle relations and inferred types for new message model #197

fix: update Drizzle relations and inferred types for new message model

fix: update Drizzle relations and inferred types for new message model #197

Workflow file for this run

name: Backend CI
on:
push:
paths:
- 'apps/backend/**'
- '.github/workflows/backend-ci.yml'
pull_request:
paths:
- 'apps/backend/**'
- '.github/workflows/backend-ci.yml'
jobs:
check:
name: Format · Lint · Test
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/backend
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install dependencies
run: pnpm install --frozen-lockfile
working-directory: .
- name: Format check
run: pnpm format:check
- name: Lint
run: pnpm lint
- name: Tests
run: pnpm test
env:
JWT_SECRET: ${{ secrets.JWT_SECRET || 'ci-test-secret' }}