Daniel Volz
|
dd716daa11
|
ci: add manual trigger to CodeQL workflow
|
2025-12-30 13:13:49 +01:00 |
|
Daniel Volz
|
d405ff4b2b
|
ci: add explicit permissions to workflows
Fixes CodeQL 'Workflow does not contain permissions' warnings.
Sets minimal 'contents: read' at top level.
|
2025-12-30 13:03:24 +01:00 |
|
Daniel Volz
|
273d84e26c
|
ci: switch to CodeQL Advanced Setup
- Add custom codeql.yml workflow
- Configure to use codeql-config.yml
- Exclude js/missing-rate-limiting rule (false positive)
Rate limiting is implemented via @fastify/rate-limit plugin
|
2025-12-30 12:49:24 +01:00 |
|
Daniel Volz
|
e5038e9843
|
ci: prevent duplicate test runs - tests only on PRs, inline tests for builds
|
2025-12-30 11:30:12 +01:00 |
|
Daniel Volz
|
2b16e2c7dc
|
ci: only build docker images on main/tags, not on PRs
|
2025-12-30 11:18:01 +01:00 |
|
Daniel Volz
|
ba3ebd27f4
|
feat: add comprehensive test suite and CI pipeline
- Add 402 unit tests with 61.7% code coverage
- Add Vitest configuration with coverage reporting
- Extract testable utility functions from services
- Create test.yml workflow (runs on PR and push to main)
- Update docker-build.yml to require tests before building
- Add scheduler-utils.ts and server-config.ts for testable code
Test files added:
- auth.test.ts, medications.test.ts, planner.test.ts
- settings.test.ts, doses.test.ts, share.test.ts
- database.test.ts, server.test.ts, services.test.ts
- env.test.ts, translations.test.ts, integration.test.ts
- e2e-routes.test.ts, stock-calculation.test.ts
|
2025-12-30 11:14:52 +01:00 |
|
Daniel Volz
|
4e2920ddfc
|
feat: update workflow triggers to include paths for push and pull request events
|
2025-12-29 21:12:46 +01:00 |
|
Daniel Volz
|
c7f81a301f
|
feat: add release script for version management and tagging
|
2025-12-29 21:07:46 +01:00 |
|
Daniel Volz
|
57da1bb6eb
|
feat: add automated release workflow
|
2025-12-28 22:50:57 +01:00 |
|
Daniel Volz
|
7cc32c88d8
|
fix: update Docker images to use latest versions and add GitHub Actions workflow for building and pushing
|
2025-12-28 22:32:04 +01:00 |
|