Skip to content

Fix autoscaler warm runners by aligning DB + runner dirs #94

Fix autoscaler warm runners by aligning DB + runner dirs

Fix autoscaler warm runners by aligning DB + runner dirs #94

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
backend:
name: Backend Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run typecheck -w backend
- name: Run tests
run: npm test -w backend
- name: Build
run: npm run build -w backend
frontend:
name: Frontend Tests
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: package-lock.json
- name: Install dependencies
run: npm ci
- name: Type check
run: npm run typecheck -w frontend
- name: Run tests
run: npm test -w frontend -- --run
- name: Build
run: npm run build -w frontend