Skip to content

Commit 6de53a4

Browse files
committed
ci: Configure git user and email before commit
1 parent 6da10d3 commit 6de53a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
with:
1616
node-version: 16
1717
registry-url: https://registry.npmjs.org/
18+
- name: Configure git
19+
run: |
20+
git config user.name "github-actions[bot]"
21+
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
1822
- run: npm ci
1923
- run: npm run test:coverage
2024
- run: NODE_ENV=production npm run build
@@ -27,8 +31,6 @@ jobs:
2731
- run: npm run version:bump
2832
- name: Push to GitHub
2933
run: |
30-
git config user.name "github-actions[bot]"
31-
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
3234
git push -f
3335
git push --tags
3436
- name: Publish to NPM

0 commit comments

Comments
 (0)