chore: add publish author

This commit is contained in:
DIYgod 2020-07-10 12:03:03 +08:00
parent 05bbe2084d
commit 29ce65fa44
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 4 additions and 1 deletions

View File

@ -15,7 +15,10 @@ jobs:
with:
node-version: '12'
- name: Release
run: npx version-from-git --allow-same-version --template 'master.short'
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
npx version-from-git --allow-same-version --template 'master.short'
- name: Publish to npmjs
run: npm publish
env: