fix(which): copri la Giunta per le autorizzazioni, togli il mis-route su immunità #65
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| push: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| ci: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| cache: npm | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build | |
| - name: Type check | |
| run: NODE_OPTIONS="--max-old-space-size=4096" npx tsc --noEmit | |
| - name: Deterministic tests (no live SPARQL) | |
| run: npm test -- --run --exclude src/tools/tools.test.ts --exclude src/tools/sparql.test.ts | |
| # I test live (src/tools/tools.test.ts, src/tools/sparql.test.ts) interrogano | |
| # gli endpoint LOD dati.camera.it / dati.senato.it, che rifiutano in modo | |
| # sistematico le richieste dai runner GitHub Actions (anti-bot / IP CI): il | |
| # job falliva SEMPRE con "SPARQL request failed after 5 attempts", senza mai | |
| # distinguere una vera regressione dal blocco di rete. Rimosso perché rumore | |
| # a zero segnale. La rete di sicurezza è il testing live in locale prima di | |
| # ogni release (RELEASING.md impone `npm test -- --run`, dove gli endpoint | |
| # rispondono). |