Automatically publish every merge to main with an @next tag, and automatically publish every tagged release rather than requiring publishing locally to npm. For tagged releases, also increment package.json to align to the version number.
:rocket:
This description was created by Ellipsis for commit 16cf8a4a0bce151f4a1d54fe0af2b82bc3a25c38
Summary:
Automate npm publishing for pushes to main and published releases by modifying .github/workflows/npm-publish.yml.
Key points:
Modify .github/workflows/npm-publish.yml to automate npm publishing.
Add publish-next job to handle pushes to main branch.
publish-next job bumps version with next preid and publishes with next tag.
Add publish-release job to handle published releases.
publish-release job updates version to match release tag, commits, and publishes to npm.
Update GitHub Actions versions to v3 for checkout and setup-node.
Automatically publish every merge to main with an @next tag, and automatically publish every tagged release rather than requiring publishing locally to npm. For tagged releases, also increment
package.json
to align to the version number.Summary:
Automate npm publishing for pushes to
main
and published releases by modifying.github/workflows/npm-publish.yml
.Key points:
.github/workflows/npm-publish.yml
to automate npm publishing.publish-next
job to handle pushes tomain
branch.publish-next
job bumps version withnext
preid and publishes withnext
tag.publish-release
job to handle published releases.publish-release
job updates version to match release tag, commits, and publishes to npm.v3
forcheckout
andsetup-node
.Generated with :heart: by ellipsis.dev