Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nourbalaha authored Nov 4, 2022
1 parent f6c066b commit c50c2a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,13 @@ jobs:
run: |
git config --global user.email ${{ secrets.USER_EMAIL }}
git config --global user.name ${{ secrets.USER_NAME }}
# Bump package version
- name: Bump release version
run: npm version ${{ github.event.inputs.release-type }} -m "new release v%s"

# Publish version to public repository
- name: Publish
run: npm publish --tag latest
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_ACCESS_TOKEN }}

0 comments on commit c50c2a1

Please sign in to comment.