npm release
Version updated for https://github.com/vitalets/npm-release to version v2.1.1.
- This action is used across all versions by 3 repositories.
Action Type
This is a Composite action.
Go to the GitHub Marketplace to find the latest changes.
Action Summary
This GitHub Action automates the process of releasing an npm package by performing several key tasks:
- It updates the
package.jsonwith a specified channel and version increment. - It generates and appends changelog entries based on a predefined format in
CHANGELOG.md. - It commits, tags, and pushes the release commit to the repository.
- It publishes the package to npm using OIDC trusted publishing without requiring an npm token.
- It creates a GitHub Release with the extracted changelog notes for easy tracking of changes. The action is designed to be integrated into workflows that handle package releases, ensuring that the process is automated and secure.
What’s Changed
- Use
nextas the prerelease channel in workflow examples, documentation, and tests - Document that prereleases published to the
nextdist-tag are installable aspackage-name@next