Skip to content

Prepare project for GitHub: Add README, LICENSE, community health fil… #1

Prepare project for GitHub: Add README, LICENSE, community health fil…

Prepare project for GitHub: Add README, LICENSE, community health fil… #1

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
frontend:
name: Frontend Lint & Build
runs-on: ubuntu-latest
defaults:
run:
working-directory: .
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- run: npm ci
- run: npm run lint
- run: npx tsc --noEmit
- run: npm run build
backend:
name: Backend Lint & Typecheck
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/api
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- run: pip install -r requirements.txt
- run: pip install ruff mypy
- run: ruff check .
- run: mypy . --ignore-missing-imports