Skip to content

Commit

Permalink
add git identity to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusJohansen committed Sep 29, 2023
1 parent 41a9ed4 commit 8904290
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: Authenticate with npm
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Set Git user name and email
run: |
git config --global user.email "markusarj@gmail.com"
git config --global user.name "J0hans1"
- name: Set package version
run: npm version ${{ github.event.release.tag_name }}
- name: Publish package
Expand Down

0 comments on commit 8904290

Please sign in to comment.