mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-06-01 07:29:01 +00:00
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>
This commit is contained in:
3
.github/workflows/generate-openapi.yml
vendored
3
.github/workflows/generate-openapi.yml
vendored
@@ -43,6 +43,9 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Build shared packages
|
||||
run: pnpm run build --scope "@bigcapital/utils" --scope "@bigcapital/email-components" --scope "@bigcapital/pdf-templates"
|
||||
|
||||
- name: Generate OpenAPI spec and SDK types
|
||||
run: pnpm run generate:sdk-types
|
||||
|
||||
|
||||
Reference in New Issue
Block a user