diff --git a/.github/workflows/publishRelease.yml b/.github/workflows/publishRelease.yml index c399916..72daba7 100644 --- a/.github/workflows/publishRelease.yml +++ b/.github/workflows/publishRelease.yml @@ -34,11 +34,11 @@ jobs: - run: pnpm publish if: ${{ env.IS_PRERELEASE == 'false' }} env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }} - run: pnpm publish --tag prerelease if: ${{ env.IS_PRERELEASE == 'true' }} env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + NODE_AUTH_TOKEN: ${{ secrets.KUFU_NPM_RELEASE_TOKEN }} - run: echo NEW_TAG=$(git describe) >> $GITHUB_ENV - run: git push origin $NEW_TAG - run: pnpm dlx ts-node ./scripts/getLatestChangelog.ts > ${{ env.CHANGELOG_PATH }}