File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3333 with :
3434 node-version : 22
3535 cache : ' pnpm'
36- registry-url : ' https://registry.npmjs.org'
3736
3837 - name : Install Dependencies
3938 run : pnpm install
4443 - name : Testing
4544 run : pnpm test
4645
47- # Trusted publishing (OIDC) requires npm CLI >= 11.5.1, which is newer than
48- # the version bundled with Node.js 22.
49- - name : Update npm
50- run : npm install -g npm@latest
51-
5246 - name : Publish
53- # No NPM_TOKEN: authentication is handled via OIDC trusted publishing.
54- # Provenance attestations are generated from the OIDC identity.
55- run : npm publish --provenance --ignore-scripts
47+ # No NPM_TOKEN: pnpm authenticates via OIDC trusted publishing and
48+ # generates provenance attestations from the OIDC identity.
49+ # --no-git-checks is required because the release runs from a detached
50+ # tag checkout rather than a branch.
51+ run : pnpm publish --provenance --no-git-checks --ignore-scripts
You can’t perform that action at this time.
0 commit comments