Skip to content

Commit b49faa6

Browse files
committed
fix publish
1 parent b545c3d commit b49faa6

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/npm-publish.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: actions/setup-node@v3
12+
- uses: actions/setup-node@v4
1313
with:
1414
node-version: 20
1515
- name: Install dependencies
@@ -26,12 +26,16 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- uses: actions/checkout@v4
29-
- uses: actions/setup-node@v3
29+
- uses: actions/setup-node@v4
3030
with:
3131
node-version: 20
3232
registry-url: https://registry.npmjs.org/
3333
- name: Install dependencies
3434
run: npm ci
35+
- name: Configure Git user
36+
run: |
37+
git config user.name "GitHub Action"
38+
git config user.email "action@github.com"
3539
- name: Set npm version
3640
run: |
3741
TAG_NAME=${GITHUB_REF#refs/tags/}

0 commit comments

Comments
 (0)