name: CI on: push: branches: [main] pull_request: jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22 cache: npm - run: npm ci # tsc --noEmit runs first (see package.json), so a type error fails the # build here before anything gets deployed. - run: npm run build # Full report for visibility (vite/esbuild and react-router-dom currently # carry known moderate/high advisories — both need a major-version bump, # tracked separately rather than forced here). The build only fails on # critical, so a genuinely new/severe advisory still blocks merges. - run: npm audit || true - run: npm audit --audit-level=critical