Skip to content

ci: let the publish workflow publish @resora/plugin-clear-router - #8

Merged
3m1n3nc3 merged 1 commit into
mainfrom
chore/publish-clear-router-plugin
Nov 5, 2026
Merged

3m1n3nc3 merged 1 commit into
mainfrom
chore/publish-clear-router-plugin

Conversation

@3m1n3nc3

@3m1n3nc3 3m1n3nc3 commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Summary

The publish workflow only ever published resora, so plugin fixes such as the Fastify reply fix from #7 never reached npm.

This adds a package choice to the manual run (resora or plugin-clear-router, default resora). Releases and v* tags still publish resora only.

  • A new "Resolve package" step picks the package directory and npm name.
  • The version check, bump commit, lint, test, build and publish steps run in that directory. The version check compares against that package's npm version.
  • When publishing a plugin, the workflow builds resora first, because the plugin resolves it from the workspace.

Checked locally

  • Plugin lint, its 15 tests and its build pass after building resora.
  • pnpm pack rewrites the plugin's resora: workspace:^ to ^1.3.36.

After merging

Run Publish to NPM manually with package: plugin-clear-router. That publishes 1.0.73 with the Fastify fix.

@codecov

codecov Bot commented Nov 5, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@3m1n3nc3
3m1n3nc3 merged commit 23dbefb into main Nov 5, 2026
4 checks passed
@3m1n3nc3
3m1n3nc3 deleted the chore/publish-clear-router-plugin branch November 5, 2026 10:10
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.

1 participant