From 18f425a0ce002485631b8e382cb44a02d30425d7 Mon Sep 17 00:00:00 2001 From: Ruan Luies Date: Mon, 27 May 2024 14:33:17 +0200 Subject: [PATCH] feat: add git uname and email. --- .github/workflows/npm-publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index a41ff5f..26b1ce5 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -28,6 +28,10 @@ jobs: with: node-version: 16 - run: npm ci + - name: Set Git user + run: | + git config --global user.email "omega@live.co.za" + git config --global user.name "Ruan Luies" - run: npm run release - name: Set Git user run: | @@ -51,7 +55,7 @@ jobs: - run: npm ci - run: npm publish env: - NODE_AUTH_TOKEN: ${{ secrets.npm_token }} + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} test-on-commit: runs-on: ubuntu-latest