Last pnpm version that worked
10.x
pnpm version
11.0.8
Code to reproduce the issue
publish using OIDC tokens in a github actions CI/CD environment starts to fail with a 404 when this worked in pnpm 10
publish:
name: Build and publish package
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Check out repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set up pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320
with:
run_install: false
- name: Set up Node.js
uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Generate tokens
run: pnpm build:tokens
- name: Build distributable CSS
run: pnpm build
- name: Publish package
run:
pnpm publish --access public --no-git-checks
Expected behavior
pnpm publish to npmjs using OIDC should work same as v10
Actual behavior
publishing fails with a 404, meaning that auth was not successful.
Additional information
No response
Node.js version
24.14.1
Operating System
Linux
Last pnpm version that worked
10.x
pnpm version
11.0.8
Code to reproduce the issue
publish using OIDC tokens in a github actions CI/CD environment starts to fail with a 404 when this worked in pnpm 10
Expected behavior
pnpm publish to npmjs using OIDC should work same as v10
Actual behavior
publishing fails with a 404, meaning that auth was not successful.
Additional information
No response
Node.js version
24.14.1
Operating System
Linux