Skip to content

Commit

Permalink
Add git configure
Browse files Browse the repository at this point in the history
  • Loading branch information
saehun committed Oct 11, 2020
1 parent dbcecb6 commit c473c52
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,16 @@ jobs:
- name: yarn build
run: yarn build

- name: configure git
run: |
git config --global user.email "nycom13@gmail.com"
git config --global user.name "minidonut"
- name: npm publish
run: |
echo '//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}' >> .npmrc
TAG=$(git describe --tags)
npm version $TAG
npm version $TAG --
npm publish
- name: commit
Expand Down

0 comments on commit c473c52

Please sign in to comment.