fix: update documentation status and add quality-gates information in CI workflow
Test Suite / test (24.15.0) (push) Has been cancelled

This commit is contained in:
Nils-Johan Gynther
2026-05-12 22:24:21 +02:00
parent dcc60af0c0
commit 9453195598
2 changed files with 19 additions and 1 deletions
+16
View File
@@ -166,6 +166,22 @@ Abstrakt bas `DocumentParser` används för dokumenttypsspecifik parsing.
- Swagger/OpenAPI-dokumentation
- Caching av skrapade sidor om belastningen mot externa webbplatser blir ett problem
## Quality-gates (npm scripts + CI)
Tillagda scripts i `backend/package.json`:
| Script | Kommando |
|---|---|
| `typecheck` | `tsc --noEmit` |
| `audit:high` | `npm audit --audit-level=high` |
| `quality:ci` | Kedja: typecheck → build → audit |
CI-workflow (`.github/workflows/test.yml`) uppdaterad (2026-05-12):
- Bytte `npm install` till `npm ci` för reproducerbara byggen.
- Ersatte Prisma- och test-steg (saknas i projektet) med: `typecheck``build``audit:high`.
- Tog bort `continue-on-error` på build-steget — pipeline fångar nu verkliga fel.
- `npm audit --audit-level=high` rapporterar **0 sårbarheter**.
## Referenser
- [README.md](README.md)