Skip to content

Commit

Permalink
Update npm-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ-7885 authored Jul 12, 2021
1 parent eda0d63 commit aff0a2d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ jobs:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}
- run: git config --global user.name ${{ secrets.GIT_NAME }}
- run: git config --global user.email ${{ secrets.GIT_EMAIL }}
# - run: git config --global user.name ${{ secrets.GIT_NAME }}
# - run: git config --global user.email ${{ secrets.GIT_EMAIL }}
- run: git config --global user.name 'AJ'
- run: git config --global user.email '42003122+code7885@users.noreply.github.com'
# Setup .npmrc file to publish to npm

- uses: actions/setup-node@v2
Expand All @@ -26,7 +28,7 @@ jobs:
- run: npm install

- name: Bump up the patch version 🕹️ -
run: npm version patch -m " %$ " -f
run: npm version patch -m " %s " -f

- name: Push changes
uses: ad-m/github-push-action@master
Expand Down

0 comments on commit aff0a2d

Please sign in to comment.