Skip to content

Commit

Permalink
chore: remove git branch checks
Browse files Browse the repository at this point in the history
  • Loading branch information
chybisov committed Oct 7, 2024
1 parent 71f0203 commit 61defbb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
generate_release_notes: true
tag_name: ${{ github.ref }}
name: ${{ github.ref }}
name: 'v${{ github.ref_name }}'
draft: false
prerelease: false

Expand All @@ -40,7 +39,7 @@ jobs:
run: pnpm build
- name: Publish to npm
run: |
pnpm publish --access public \
pnpm publish --no-git-checks --access public \
${{ contains(github.ref_name, 'alpha') && '--tag alpha' || contains(github.ref_name, 'beta') && '--tag beta' || '' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down

0 comments on commit 61defbb

Please sign in to comment.