Daniel Volz
13c6430dee
fix(ci): disable provenance/sbom to remove unknown/unknown image ( #35 )
2026-01-17 22:22:35 +01:00
Daniel Volz
ec3793dd05
chore(ci): add path filters to skip CI for docs-only changes ( #33 )
...
* chore(ci): add path filters to skip CI for docs-only changes
- test.yml: Only run on changes to backend/**, frontend/**, or the workflow itself
- docker-build.yml: Only run on code/docker changes (tags still trigger unconditionally)
* docs: move screenshots below GIF and add visual indentation
2026-01-17 22:06:34 +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
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