From 2ae371dca8a08f085063ef9713acbfb841ffc0d7 Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Wed, 14 May 2025 23:43:57 +0200 Subject: [PATCH] Use Yarn for publishing --- .github/workflows/publish.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7529317..d8d23d0 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -46,12 +46,12 @@ jobs: - name: Publish with latest tag if: github.event.release.prelease == false - run: npm publish package.tgz --tag latest --provenance + run: yarn npm publish --tag latest --provenance env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish with next tag if: github.event.release.prelease == true - run: npm publish package.tgz --tag next --provenance + run: yarn npm publish --tag next --provenance env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + YARN_NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} -- 2.51.2