ci(github): add linting and improve CI workflow
Test Suite / backend-pr-quick (push) Has been skipped
Test Suite / quick-import-pr-quick (push) Has been skipped
Test Suite / backend-full (push) Successful in 5m14s
Test Suite / flutter-quality (push) Failing after 1m36s

- Add ESLint configuration for backend TypeScript code
- Include linting step in backend quality checks
- Add linting step to GitHub Actions CI workflow
- Enable configurable Prisma query logging via PRISMA_LOG_QUERIES environment variable
- Update PrismaService to support dynamic log levels based on PRISMA_LOG_QUERIES
- Replace BadRequestException with UnauthorizedException in receipt import security tests
This commit is contained in:
Nils-Johan Gynther
2026-05-18 23:01:29 +02:00
parent d5f903db98
commit f6ccdd859f
8 changed files with 1132 additions and 23 deletions
+1
View File
@@ -18,6 +18,7 @@ services:
SEED_USER2_PASSWORD: "${SEED_USER2_PASSWORD}"
IMPORTER_SERVICE_URL: "http://importer-api:3001"
RECEIPT_TRACE_DECISIONS: "${RECEIPT_TRACE_DECISIONS:-0}"
PRISMA_LOG_QUERIES: "${PRISMA_LOG_QUERIES:-0}"
volumes:
- recipe_images:/app/recipe-images
depends_on: