Skip to content

Commit

Permalink
try again
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Aug 5, 2024
1 parent 9a4a28a commit d28d74a
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,17 @@ jobs:
with:
node-version: 20

- run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- run: npm version prerelease --preid=alpha

- name: Commit and push version bump
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add package.json
git commit -m "ci: bump version to ${{ steps.bump_version.outputs.new_version }} [skip ci]"
git push origin main
git add package.json
git commit -m "ci: bump version to ${{ steps.bump_version.outputs.new_version }} [skip ci]"
git push origin main

publish-npm:
needs: bump-version
Expand Down

0 comments on commit d28d74a

Please sign in to comment.