Skip to content

Friendlier upload API: slugs, group/model inference, ctx overrides, unified OCR content blob #341

Friendlier upload API: slugs, group/model inference, ctx overrides, unified OCR content blob

Friendlier upload API: slugs, group/model inference, ctx overrides, unified OCR content blob #341

Workflow file for this run

name: Temporal Quality Assurance
permissions:
contents: read
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [main, develop]
workflow_dispatch:
jobs:
test-and-lint:
name: Temporal Quality Assurance
runs-on: ubuntu-latest
outputs:
environment: ${{ steps.env.outputs.environment }}
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Get Environment
id: env
uses: ./.github/actions/get-environment
- name: Setup Node
uses: actions/setup-node@v6
with:
node-version: '24'
- name: Install dependencies (root)
run: npm install --ignore-scripts --no-package-lock
- name: Build shared packages
run: npm run build:packages
- name: Install dependencies (temporal)
working-directory: apps/temporal
run: npm install --ignore-scripts --no-package-lock
- name: Generate Prisma
working-directory: apps/temporal
run: npm run db:generate
env:
DATABASE_URL: "postgresql://localhost:5432/dummy"
- name: Lint
working-directory: apps/temporal
run: npm run lint
- name: Type Check
working-directory: apps/temporal
run: npm run type-check
- name: Run tests
working-directory: apps/temporal
run: npm test