Skip to content

Commit 78c8d69

Browse files
committed
fix: workflow throwing npm auth error
1 parent aca9cf1 commit 78c8d69

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/release-to-npm.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,14 @@ jobs:
3131
with:
3232
node-version: 20
3333
cache: "yarn"
34-
registry-url: "https://registry.npmjs.org"
3534

3635
- name: Install dependencies
3736
run: yarn install --immutable
3837

39-
- name: Configure Git
38+
- name: git config
4039
run: |
41-
git config user.name "GitHub Actions"
42-
git config user.email "actions@github.com"
40+
git config user.name "${GITHUB_ACTOR}"
41+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
4342
4443
- name: Build package
4544
run: yarn prepare

0 commit comments

Comments
 (0)