Skip to content

Commit

Permalink
Merge pull request #3 from navenduraisamy/navenduraisamy-patch-2
Browse files Browse the repository at this point in the history
Update publish.yaml
  • Loading branch information
navenduraisamy authored Aug 20, 2023
2 parents f03ff58 + b404320 commit b43a512
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,20 @@ jobs:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci

- name: git configuration
run: |
git config --global user.name "navenkumar"
git config --global user.email "naven.duraisamy5859@gmail.com"
- name: update version
run: npm version ${{ github.event.inputs.version_bump }}

- name: Push changes to repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git push origin && git push --tags
- name: publish to npm registry
run: npm publish
Expand Down

0 comments on commit b43a512

Please sign in to comment.