From 4f46da0c2ae889a491526f318a26993fea2eb3b4 Mon Sep 17 00:00:00 2001 From: Cobus Greyling Date: Tue, 9 Jun 2026 14:32:12 +0200 Subject: [PATCH] Restore NPM_TOKEN auth for release workflows --- .github/workflows/release-loop-audit.yml | 6 ++++-- .github/workflows/release-loop-init.yml | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release-loop-audit.yml b/.github/workflows/release-loop-audit.yml index 7f10425..da7f27c 100644 --- a/.github/workflows/release-loop-audit.yml +++ b/.github/workflows/release-loop-audit.yml @@ -32,6 +32,8 @@ jobs: npm run build npm test - - name: Publish to npm (trusted publishing — no NPM_TOKEN) + - name: Publish to npm working-directory: tools/loop-audit - run: npm publish --access public --provenance \ No newline at end of file + run: npm publish --access public --provenance + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/release-loop-init.yml b/.github/workflows/release-loop-init.yml index 20e33a7..606065b 100644 --- a/.github/workflows/release-loop-init.yml +++ b/.github/workflows/release-loop-init.yml @@ -28,4 +28,6 @@ jobs: run: | npm ci npm test - npm publish --access public --provenance \ No newline at end of file + npm publish --access public --provenance + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file