Skip to content

Commit 371e82d

Browse files
chore: remove the npm install -g npm@latest step
It was initially added because it was needed for Trusted Publishing at the time. Nowadays the bundled npm is modern enough that we don’t need to force the latest version anymore.
1 parent 350bc4d commit 371e82d

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

.github/workflows/publish-on-tag.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ jobs:
1919
with:
2020
node-version-file: '.nvmrc'
2121
registry-url: 'https://registry.npmjs.org'
22-
- name: Update npm
23-
run: |
24-
npm install -g npm@~11.10.0 # Workaround for https://github.com/npm/cli/issues/9151.
25-
npm install -g npm@latest
2622
- name: Publish
2723
run: |
2824
npm publish --provenance --access public

0 commit comments

Comments
 (0)