Skip to content

Commit

Permalink
try again 3
Browse files Browse the repository at this point in the history
  • Loading branch information
borispoehland committed Aug 5, 2024
1 parent 178234a commit ebf7ce8
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- alpha

permissions:
contents: write

jobs:
bump-version:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
Expand All @@ -23,9 +26,8 @@ jobs:
- run: npm version prerelease --preid=alpha

- run: |
git add package.json
git commit -m "ci: bump version to ${{ steps.bump_version.outputs.new_version }} [skip ci]"
git push origin alpha
git commit -am "ci: bump version to ${{ steps.bump_version.outputs.new_version }} [skip ci]"
git push
publish-npm:
needs: bump-version
Expand Down

0 comments on commit ebf7ce8

Please sign in to comment.