Skip to content

Commit

Permalink
Added version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
umerfaruk committed Jan 31, 2024
1 parent 9c82876 commit e8e97ce
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,25 @@ on:
jobs:
build-and-publish:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: 'Automated Version Bump'
uses: 'phips28/gh-action-bump-version@master'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
minor-wording: 'add,Adds,new'
major-wording: 'MAJOR,cut-major'
patch-wording: 'patch,fixes' # Providing patch-wording will override commits
# defaulting to a patch bump.
rc-wording: 'RELEASE,alpha'
tag-prefix: 'v'
- run: npm ci
- run: npm run build
- run: npm publish
Expand Down

0 comments on commit e8e97ce

Please sign in to comment.