From f076e554638368c1954734027c083e9a60e0df77 Mon Sep 17 00:00:00 2001 From: Simon Courtois Date: Fri, 2 Oct 2026 15:53:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Passing=20NPM=5FTOKEN=20as=20NOD?= =?UTF-8?q?E=5FAUTH=5FTOKEN=20so=20the=20release=20workflow=20publishes=20?= =?UTF-8?q?authenticated?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f78b805..7707ef7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -59,4 +59,6 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + # setup-node's .npmrc reads ${NODE_AUTH_TOKEN}; without it the publish is anonymous (E404). + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} NPM_CONFIG_PROVENANCE: "true"