From 5283f9ab8ed9f7423d320acfc2fac7c582544447 Mon Sep 17 00:00:00 2001 From: GCHQDeveloper581 <63102987+GCHQDeveloper581@users.noreply.github.com> Date: Wed, 11 Feb 2026 13:07:11 +0000 Subject: [PATCH 1/3] Add debugging to npm publish --- .github/workflows/releases.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 81fd7385e2..448ce2ba24 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -112,3 +112,6 @@ jobs: - name: Publish to NPM run: npm publish + + - name: Debug + run: cat /home/runner/.npm/_logs/* From 3df90666dfbf3723e532fb5dc5bf577066a68435 Mon Sep 17 00:00:00 2001 From: GCHQDeveloper581 <63102987+GCHQDeveloper581@users.noreply.github.com> Date: Wed, 11 Feb 2026 17:39:46 +0000 Subject: [PATCH 2/3] Try a multi-version node action --- .github/workflows/test-publish.yml | 38 ++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .github/workflows/test-publish.yml diff --git a/.github/workflows/test-publish.yml b/.github/workflows/test-publish.yml new file mode 100644 index 0000000000..16c5aac90b --- /dev/null +++ b/.github/workflows/test-publish.yml @@ -0,0 +1,38 @@ +name: "Releases" + +on: + workflow_dispatch: + push: + tags: + - "ZZZ*" + +permissions: + contents: read + +jobs: + npm-publish: + permissions: + id-token: write + contents: read + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + + + - name: Set node version + uses: actions/setup-node@v6 + with: + node-version: 18 + registry-url: "https://registry.npmjs.org" + + - name: install and configure + run: npm install && npm run node + + - name: Reset node version + uses: actions/setup-node@v6 + with: + node-version: ^24.5 + registry-url: "https://registry.npmjs.org" + + - name: simulate Publish to NPM + run: node --version && npm --version From def2c83cffd46c603c2cb1aab83d128414b8f443 Mon Sep 17 00:00:00 2001 From: GCHQDeveloper581 <63102987+GCHQDeveloper581@users.noreply.github.com> Date: Wed, 11 Feb 2026 17:54:16 +0000 Subject: [PATCH 3/3] Update test-publish.yml --- .github/workflows/test-publish.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test-publish.yml b/.github/workflows/test-publish.yml index 16c5aac90b..4789339380 100644 --- a/.github/workflows/test-publish.yml +++ b/.github/workflows/test-publish.yml @@ -5,6 +5,7 @@ on: push: tags: - "ZZZ*" + pull_request: permissions: contents: read