Skip to content

fix(web): align profile dashboard reader to canonical schema fields #1487

fix(web): align profile dashboard reader to canonical schema fields

fix(web): align profile dashboard reader to canonical schema fields #1487

Workflow file for this run

name: Lint
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
eslint-web:
name: ESLint — web/
runs-on: ubuntu-latest
defaults:
run:
working-directory: web
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
cache: "npm"
cache-dependency-path: web/package-lock.json
- name: Install dependencies
run: npm ci
- name: ESLint
run: npm run lint
prettier:
name: Prettier check — web/ + shared/
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24"
- name: Install Prettier
# Versione FISSA: senza pin `npm install prettier` prende l'ultima e una
# nuova release riformatta file non toccati → Lint rosso su PR estranee.
# Allineata alla 3.8.3 contro cui il repo è già formattato.
run: npm install --no-save prettier@3.8.3
- name: Prettier check — web/
run: npx prettier --check "web/app/**/*.{ts,tsx}"
- name: Prettier check — shared/
run: npx prettier --check "shared/**/*.ts" --ignore-path /dev/null