From 6c08bb8c76d874f15f53ff9e7d52bb5cc9537090 Mon Sep 17 00:00:00 2001 From: Xon <635541+Xon@users.noreply.github.com> Date: Tue, 10 Mar 2026 16:22:11 +0800 Subject: [PATCH] Node 22 ships npm 10.x but OIDC trusted publishing needs npm 11.5.1+. Node 24 ships with a compatible npm version natively. Setting registry-url generates a .npmrc file which breaks the OIDC flow --- .github/workflows/deployment.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 80637cf3..8ab05ad4 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -18,8 +18,6 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 24 - registry-url: https://registry.npmjs.org/ - - run: npm install -g npm@latest - run: npm ci env: HUSKY_SKIP_INSTALL: true