Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 2.1 KB

README.md

File metadata and controls

56 lines (36 loc) · 2.1 KB

Increment and publish NPM

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.

Inputs

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

Example

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
            

Contributing

We would love for you to contribute to bitovi/github-actions-deploy-eks-helm. Issues and Pull Requests are welcome!

License

The scripts and documentation in this project are released under the MIT License.

Provided by Bitovi

Bitovi is a proud supporter of Open Source software.

Need help or have questions?

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.