diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 556e4ae42..19fc2809e 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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: