fix(publish): pin npm for trusted publishing

This commit is contained in:
Alex Verkhovsky 2026-03-10 04:09:10 -06:00
parent c8f5b60598
commit 6a0046917a
1 changed files with 7 additions and 0 deletions

View File

@ -52,6 +52,13 @@ jobs:
node-version-file: ".nvmrc" node-version-file: ".nvmrc"
cache: "npm" cache: "npm"
- name: Ensure trusted publishing toolchain
run: |
# npm trusted publishing requires Node >= 22.14.0 and npm >= 11.5.1.
npm install --global npm@11.6.2
echo "Node: $(node --version)"
echo "npm: $(npm --version)"
- name: Debug npm auth config surface - name: Debug npm auth config surface
run: | run: |
USERCONFIG=$(npm config get userconfig) USERCONFIG=$(npm config get userconfig)