Skip to content

Commit

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

- run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
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 add package.json
git commit -m "ci: bump version to ${{ steps.bump_version.outputs.new_version }} [skip ci]"
git push origin main
- run: |
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 All @@ -41,4 +40,4 @@ jobs:
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 6ea9d44

Please sign in to comment.