Skip to content

Commit 37b09d4

Browse files
committed
fix(ci): use npm 11 via npx for publishing
1 parent f27a1b0 commit 37b09d4

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,8 @@ jobs:
6161
registry-url: https://registry.npmjs.org
6262
cache: pnpm
6363

64-
- name: Upgrade npm for trusted publishing
65-
run: npm install --global npm@^11.10.0
66-
6764
- name: Install dependencies
6865
run: pnpm install --frozen-lockfile
6966

7067
- name: Publish package
71-
run: npm publish --access public --provenance
68+
run: npx --yes npm@11.10.0 publish --access public --provenance

0 commit comments

Comments
 (0)