Skip to content

Commit

Permalink
fit: fix github workflow (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawndlwd authored May 25, 2024
1 parent 5985b37 commit 04da305
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/hungry-drinks-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"unused-i18n": patch
---

fix workflow
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,10 @@ jobs:
with:
commit: 'chore: release'
title: 'chore: release'
publish: false
publish: pnpm publish --access public
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Publish to npm
if: steps.changesets.outputs.published == 'true'
run: pnpm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push changes and tags
run: |
Expand Down

0 comments on commit 04da305

Please sign in to comment.