Daniel Volz
9cfbf89d46
fix: correct release workflow to find previous tag ( #23 )
2026-01-16 20:06:29 +01:00
Daniel Volz
271db4557d
ci: remove paths filter from test workflow to fix branch protection
2026-01-01 20:08:53 +01:00
Daniel Volz
f45e904f2f
docs: add GitHub issue templates
...
- Bug report template with deployment type, browser info, logs
- Feature request template with affected area, priority
- Config with link to discussions and README
- Optimize test.yml to skip tests for non-code changes
2025-12-30 14:07:51 +01:00
Daniel Volz
2d17fde8f1
ci: add explicit permissions to all workflow jobs
2025-12-30 13:40:17 +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