Skip to content

ci: extract reusable test workflow (closes #23)#24

Merged
ryanmcmillan merged 1 commit into
mainfrom
chore/workflow-dedup
Apr 14, 2026
Merged

ci: extract reusable test workflow (closes #23)#24
ryanmcmillan merged 1 commit into
mainfrom
chore/workflow-dedup

Conversation

@ryanmcmillan
Copy link
Copy Markdown
Member

Summary

Third in the workflow-dedup cluster (delega-python#9, delega-mcp#19, this one). Extracts `npm ci + tsc + build` into reusable `.github/workflows/test.yml`; `ci.yml` and `publish.yml` both call it.

Test plan

  • First PR CI exercises the new reusable
  • Will verify on next `v1.2.2+` tag push that publish.yml picks up the reusable

Closes #23. Completes the cross-repo cluster.

🤖 Generated with Claude Code

Same dedup pattern as delega-python#9 and delega-mcp#19.

- Create .github/workflows/test.yml (workflow_call) covering
  npm ci + tsc --noEmit + npm run build.
- ci.yml has one job that calls the reusable.
- publish.yml's test job now calls the reusable, then publish + release
  continue unchanged (needs: test).

Version-match-to-tag stays inline in publish.yml.

Closes #23.

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

@greptile-apps greptile-apps Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@ryanmcmillan ryanmcmillan merged commit 4126b48 into main Apr 14, 2026
2 checks passed
@ryanmcmillan ryanmcmillan deleted the chore/workflow-dedup branch April 14, 2026 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deduplicate install+build step between ci.yml and publish.yml

1 participant