File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " rehype-pretty-code " : patch
3+ ---
4+
5+ chore: fix npm OIDC trusted publishing workflow
Original file line number Diff line number Diff line change 5252 uses : actions/setup-node@v4
5353 with :
5454 cache : ' pnpm'
55- node-version : ' lts/*'
55+ # Required for npm OIDC trusted publishing (npm >= 11.5.1), while staying on Node 24.
56+ node-version : ' ^24.14.0'
5657 registry-url : ' https://registry.npmjs.org'
5758
5859 - name : ' Install Dependencies'
8283 commit : " [ci] release"
8384 title : " [ci] release"
8485 env :
85- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
8686 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
88- NPM_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
87+ # Workaround for changesets/action requiring this var to be set.
88+ # OIDC trusted publishing does not use an npm token secret.
89+ NPM_TOKEN : " "
You can’t perform that action at this time.
0 commit comments