From 8904290fae2298dfff04c21a0d16af4027d6abd2 Mon Sep 17 00:00:00 2001 From: "Markus A. R. Johansen" <90006516+J0hans1@users.noreply.github.com> Date: Fri, 29 Sep 2023 16:08:50 +0200 Subject: [PATCH] add git identity to workflow --- .github/workflows/npm-publish.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 3dd1d19..d51d9ca 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -40,6 +40,10 @@ jobs: registry-url: https://registry.npmjs.org/ - name: Authenticate with npm run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc + - name: Set Git user name and email + run: | + git config --global user.email "markusarj@gmail.com" + git config --global user.name "J0hans1" - name: Set package version run: npm version ${{ github.event.release.tag_name }} - name: Publish package