From 04da305722234af1dcda16e82922b679fe473fbb Mon Sep 17 00:00:00 2001 From: Levende Date: Sat, 25 May 2024 16:36:05 +0200 Subject: [PATCH] fit: fix github workflow (#26) --- .changeset/hungry-drinks-pump.md | 5 +++++ .github/workflows/release.yml | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 .changeset/hungry-drinks-pump.md diff --git a/.changeset/hungry-drinks-pump.md b/.changeset/hungry-drinks-pump.md new file mode 100644 index 0000000..47ca8d7 --- /dev/null +++ b/.changeset/hungry-drinks-pump.md @@ -0,0 +1,5 @@ +--- +"unused-i18n": patch +--- + +fix workflow diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2542457..d9277a9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: |