1
0
Commit Graph

3 Commits

Author SHA1 Message Date
Ahmed Bouhuolia be61488952 fix(ci): add MySQL and Redis services for OpenAPI generation
The NestJS app requires database and Redis connections to bootstrap.
Added GitHub Actions services for MySQL and Redis with necessary
environment variables for the openapi:export command to work.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 21:27:24 +02:00
Ahmed Bouhuolia 2358ef9097 fix(ci): build shared packages before OpenAPI generation
The server depends on @bigcapital/email-components and other shared
packages. Build them before running openapi:export to fix module
resolution errors.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 21:19:03 +02:00
Ahmed Bouhuolia 5c32f41f22 ci: add GitHub Action to auto-generate OpenAPI SDK types
Adds workflow that triggers on server code changes to:
- Export OpenAPI spec from NestJS Swagger module
- Generate TypeScript types with openapi-typescript
- Build the SDK package
- Create PR with changes if any exist

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-15 16:22:50 +02:00