Skip to content

CI: ajuste les global thresholds backend pour Node 24 #14

CI: ajuste les global thresholds backend pour Node 24

CI: ajuste les global thresholds backend pour Node 24 #14

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
backend:
name: Backend (lint + test + coverage)
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: backend/package-lock.json
- run: npm ci
- run: npm run lint
- run: npm run test:coverage -- --ci --runInBand --silent
frontend:
name: Frontend (lint + typecheck + test + build)
runs-on: ubuntu-latest
defaults:
run:
working-directory: frontend
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: '24'
cache: 'npm'
cache-dependency-path: frontend/package-lock.json
- run: npm ci --legacy-peer-deps
- run: npm run lint
- run: npx tsc --noEmit
- run: npm run test:coverage -- --reporter=dot
- run: npm run build