set github user for versioning commit

This commit is contained in:
Andrea Lamparelli 2022-12-23 19:49:20 +01:00
parent 0abd794390
commit a542b0e748

View file

@ -26,6 +26,7 @@ jobs:
with: with:
node-version: 16 node-version: 16
registry-url: https://registry.npmjs.org/ registry-url: https://registry.npmjs.org/
- run: git config --global user.name "Github" && git config --global user.email "noreply@github.com"
- run: npm version ${{ inputs.version }} -m "${{ inputs.message }}" - run: npm version ${{ inputs.version }} -m "${{ inputs.message }}"
- run: npm install && npm publish --access public - run: npm install && npm publish --access public
env: env: