From 8234fbd53cef00d009294f2d9551caaa21ea3c09 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Tue, 14 Oct 2025 22:09:15 +0100 Subject: [PATCH 1/2] Set up trusted publisher in NpmJS for our GH org/repo --- .github/workflows/release.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 591ebd1..565a512 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -45,6 +45,4 @@ jobs: run: npm run build - name: Publish to npm - run: npm publish --provenance --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + run: npm publish --provenance --access public \ No newline at end of file From f6b4fb0d4bb8f615c87cd0dce8018b903a6316c4 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Mon, 20 Oct 2025 15:45:18 +0100 Subject: [PATCH 2/2] Step to install latest npm CLI --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 565a512..7d51644 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -38,6 +38,9 @@ jobs: node-version: '22' registry-url: 'https://registry.npmjs.org' + - name: Install latest npm + run: npm install -g npm@latest + - name: Install dependencies run: npm ci