Skip to content

Commit 0b6d479

Browse files
committed
chore: use npm to publish for oidc trusted releases
this is not yet supported by pnpm so we have to use npm for the publish step. See: https://docs.npmjs.com/trusted-publishers
1 parent 03c3396 commit 0b6d479

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ jobs:
2323
- id: setup-node-and-pnpm
2424
if: ${{ steps.release.outputs.release_created }}
2525
uses: ./.github/actions/setup-node-and-pnpm-dependencies
26-
- run: pnpm publish
26+
- run: |
27+
# Ensure npm 11.5.1 or later is installed
28+
npm install -g npm@latest
29+
npm publish
2730
if: ${{ steps.release.outputs.release_created }}
28-
env:
29-
NODE_AUTH_TOKEN: ${{secrets.NPM_DEPLOY_TOKEN}}

0 commit comments

Comments
 (0)