Skip to content

Commit

Permalink
💚 Use 1 step for changesets version and publish
Browse files Browse the repository at this point in the history
  • Loading branch information
srod committed Mar 22, 2024
1 parent 5fe016c commit b005b13
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,8 @@ jobs:
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
publish: bun changeset:release
version: bun changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to npm
if: ${{ steps.changesets.outputs.hasChangesets == 'false' }}
run: bun changeset:release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit b005b13

Please sign in to comment.