Skip to content

Commit

Permalink
chore: update publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianwessel committed Feb 25, 2024
1 parent 83dd982 commit feb6c55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,13 @@ jobs:
- name: create pull request
run: |
gh pr create -B master -H ${{ steps.bump_version.outputs.new_branch }} --title 'Merge ${{ steps.bump_version.outputs.new_branch }} into master' --body 'Created by Github action'
gh pr merge ${{ steps.bump_version.outputs.new_branch }} --rebase --auto
gh pr merge ${{ steps.bump_version.outputs.new_branch }} --rebase --admin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Publish to NPM
run: npm publish --access public --workspaces
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Create release
run: |
gh release create v${{ steps.bump_version.outputs.new_version }} -F CHANGELOG.md

0 comments on commit feb6c55

Please sign in to comment.