Skip to content

Commit 2ae874d

Browse files
committed
Updated github workflow
1 parent c38f021 commit 2ae874d

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/test_and_publish.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
if: |
3636
github.ref == 'refs/heads/master' &&
3737
github.actor == 'chrisdbeard'
38-
runs-on: windows-latest
38+
runs-on: ubuntu-latest
3939

4040
steps:
4141
- uses: actions/checkout@v4
@@ -52,10 +52,13 @@ jobs:
5252
- name: Bump version and update changelog
5353
run: npm run release
5454

55+
- name: Configure Git identity
56+
run: |
57+
git config --global user.name "github-actions[bot]"
58+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
59+
5560
- name: Commit version bump and changelog
5661
run: |
57-
git config user.name "github-actions[bot]"
58-
git config user.email "github-actions[bot]@users.noreply.github.com"
5962
git add package.json package-lock.json CHANGELOG.md
6063
git commit -m "chore(release): $(node -p "require('./package.json').version") [skip ci]" || echo "No changes to commit"
6164

0 commit comments

Comments
 (0)