From 1997ada76ba15214aa975e62ed1d8dfb119b3cc4 Mon Sep 17 00:00:00 2001 From: Albert Mojir Date: Tue, 14 Jan 2025 10:44:39 +0100 Subject: [PATCH] Deploying to npm.pkg.github.com, take 6 --- .github/workflow/publish.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflow/publish.yml b/.github/workflow/publish.yml index 2a8e034..1688a8e 100644 --- a/.github/workflow/publish.yml +++ b/.github/workflow/publish.yml @@ -10,11 +10,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: Git config - run: | - git config --global user.email "github-actions@users.noreply.github.com" - git config --global user.name "github-actions" - - uses: actions/checkout@v4 - uses: actions/setup-node@v3 @@ -23,6 +18,12 @@ jobs: registry-url: 'https://npm.pkg.github.com' scope: '@${{ github.repository_owner }}' + + - name: Git config + run: | + git config --global user.email "github-actions@users.noreply.github.com" + git config --global user.name "github-actions" + - name: Bump version run: npm version patch