Skip to content

Release npm packages#8

Merged
timriley merged 2 commits intomainfrom
release-node-packages
Apr 19, 2026
Merged

Release npm packages#8
timriley merged 2 commits intomainfrom
release-node-packages

Conversation

@timriley
Copy link
Copy Markdown
Contributor

@timriley timriley commented Apr 19, 2026

Create a new release-npm.yml workflow, which we can use for releasing hanami-assets to npm in the same way we release our gems, which includes the automatic GitHub release creation and post to our forum.

This uses npm trusted publishing, which I've already configured for our Hanami-assets package.

Common logic between the existing release.yml and our new release-npm.yml has been extracted into separate shared actions.

This approach is facilitated by the changes in hanami/hanami-assets-js#43, which ensure all the necessary publishing-related steps are encapsulated within hanami-assets' package.json, so the release workflow here can just call npm publish and nothing else.

@timriley timriley requested a review from a team as a code owner April 19, 2026 02:46
@timriley timriley merged commit cdaaed3 into main Apr 19, 2026
@timriley timriley deleted the release-node-packages branch April 19, 2026 03:03
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