GitNexus/.github/workflows
Abhigyan Patwari 71255a096c
fix: bundle gitnexus-shared into CLI dist (#613)
* fix(ci): build gitnexus-shared before publish, use CHANGELOG for release notes

The publish workflow was missing the gitnexus-shared build step that
the setup-gitnexus composite action provides. Since PR #536 unified
the ingestion pipeline, gitnexus imports types from gitnexus-shared,
so it must be built first.

Also replaces generate_release_notes with CHANGELOG.md extraction so
GitHub Releases use the reviewed changelog entry instead of a flat
PR title list.

Made-with: Cursor

* fix: bundle gitnexus-shared into CLI dist to fix module resolution

gitnexus-shared was declared as a file: dependency but never published
to npm, causing ERR_MODULE_NOT_FOUND for users installing gitnexus
globally. The build script now copies gitnexus-shared/dist into
dist/_shared/ and rewrites bare specifiers to relative paths.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* fix: move gitnexus-shared to devDependencies, use tsc for prepare

gitnexus-shared must remain available for tsc to resolve imports during
development/CI, but is not needed at runtime since it's bundled into
dist/_shared/. Moving it to devDependencies keeps it out of production
installs while allowing compilation. The prepare script now runs plain
tsc (no shared bundling needed for local dev).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Abhigyan Patwari <abhigyan@Abhigyans-MacBook-Air.local>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 17:04:39 +05:30
..
ci-e2e.yml feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00
ci-quality.yml feat: configure eslint with unused import removal (#564) 2026-03-28 15:28:09 +00:00
ci-report.yml feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
ci-tests.yml feat: unify web and cli ingestion pipeline (#536) 2026-03-28 14:07:11 +00:00
ci.yml ci: E2E workflow, web typecheck job, pre-commit hook, test suite (#486) 2026-03-24 06:01:08 +00:00
claude-code-review.yml CI sticky notes 2026-03-19 17:06:32 -05:00
claude.yml feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
pr-description-check.yml updating workflow verbage 2026-03-21 19:30:10 -05:00
publish.yml fix: bundle gitnexus-shared into CLI dist (#613) 2026-04-01 17:04:39 +05:30
triage-sweep.yml redoing auto labeling using z score instead of clustering lowkey the method 2026-03-21 23:21:23 -05:00