From 4061a424636b5c533dc38143e9336df295a75d73 Mon Sep 17 00:00:00 2001 From: Hugo Alliaume Date: Tue, 29 Jul 2025 09:05:49 +0200 Subject: [PATCH] =?UTF-8?q?[CI]=C2=A0Fix=20npm=20releases=20with=20pnpm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release-on-npm.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-on-npm.yaml b/.github/workflows/release-on-npm.yaml index 5290cc6b64e..c4f43f67870 100644 --- a/.github/workflows/release-on-npm.yaml +++ b/.github/workflows/release-on-npm.yaml @@ -40,9 +40,12 @@ jobs: git add . git commit -m "Update versions to ${{ env.VERSION }}" - - name: Publish on NPM + - name: Configure NPM authentication + run: pnpm config set '//registry.npmjs.org/:_authToken' "${NODE_AUTH_TOKEN}" env: - NPM_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }} + NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}} + + - name: Publish on NPM run: pnpm publish --recursive --access public --no-git-checks - name: Push changes