ci(publish): add @relayauth/migrate to the publish workflow#31
Merged
khaliqgant merged 1 commit intomainfrom Apr 23, 2026
Merged
ci(publish): add @relayauth/migrate to the publish workflow#31khaliqgant merged 1 commit intomainfrom
khaliqgant merged 1 commit intomainfrom
Conversation
Package was introduced in #26 but the publish workflow's choice list and 'all' branch were never updated, so a workflow_dispatch with package=all would skip it and subsequent @relayauth/server@<new> publishes would fail downstream — server's dependency on @relayauth/migrate can't resolve when migrate isn't on npm. Inserted before server in the 'all' ordering because the publish job runs max-parallel: 1 and server depends on migrate; list order is publish order. The generic package-directory resolver in the publish step already handles packages/migrate/ via the default branch — no other changes needed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
#26 introduced `@relayauth/migrate` as a workspace package but didn't update `publish.yml`. Today a `workflow_dispatch` with `package=all` skips it, and once you try to publish a new `@relayauth/server` it'll fail downstream because `server`'s dep on `@relayauth/migrate: "*"` can't resolve when migrate isn't on npm.
Changes
Everything else generalizes: the "Resolve package directory" step falls through to the default branch for `migrate` (which is `packages/migrate/`, no special-casing needed), and the version-bump loop already iterates over `$PACKAGES` generically.
Test plan
Unblocks
🤖 Generated with Claude Code