The action will increment the version, save the updated version back to GitHub, createing a tag of the new version, and optionally publish the NPM package to NPM.
The following inputs can be used as step.with
keys
Name | Type | Req. | Description |
---|---|---|---|
update_ type | String | Yes | Should be major , minor , or patch |
publish | true/false | No | Defaults to true . Set to false to update version without publishing |
npm_token | String | Yes | NPM token that has publish permissions |
This will checkout the code, and publish to NPM
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: "Install"
run: npm i
- name: "Increment and publish"
uses: bitovi/github-actions-npm-publish@main
with:
update_type: 'patch'
npm_token: ${{ secrets.NPM_TOKEN }}
publish: true
We would love for you to contribute to bitovi/github-actions-deploy-eks-helm
. Issues and Pull Requests are welcome!
The scripts and documentation in this project are released under the MIT License.
Bitovi is a proud supporter of Open Source software.
You can get help or ask questions on Discord channel! Come hangout with us!
Or, you can hire us for training, consulting, or development. Set up a free consultation.