From 740d6c484410fc7262de29de9a91a10a86f24215 Mon Sep 17 00:00:00 2001 From: Denis Demchenko Date: Sun, 8 Feb 2026 23:37:11 +0200 Subject: [PATCH] Update npm to latest version before publishing to npm registry (#603) Co-authored-by: Claude --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 612ecd7..a163f85 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -58,5 +58,7 @@ jobs: with: node-version: 20 registry-url: "https://registry.npmjs.org" + - name: Update npm to latest (trusted publishing requires npm >= 11.5.1) + run: npm install -g npm@latest - name: Publish to npm run: npm publish --provenance --access public \ No newline at end of file