Skip to content

Commit 1e59f1a

Browse files
authored
fix(ci): use npm 11 via npx for publishing (#43)
1 parent f27a1b0 commit 1e59f1a

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.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)