Skip to content

Commit 6835983

Browse files
committed
chore: Remove npm upgrade step from service_publish-node-package.yml
- Eliminated the npm upgrade step for OIDC trusted publishing, as it is no longer necessary for the workflow. - This change streamlines the GitHub Actions workflow for publishing Node packages.
1 parent f9bc6c9 commit 6835983

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

.github/workflows/service_publish-node-package.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,6 @@ jobs:
2929

3030
- name: checkout
3131
uses: actions/checkout@v6
32-
33-
# Trusted publishing (OIDC) requires npm CLI >= 11.5.1 (Node images may ship older npm).
34-
- name: Upgrade npm for OIDC trusted publishing
35-
run: npm install -g npm@^11.5.1
3632

3733
- name: Set NPM version (${{ github.ref_name }}).
3834
run: npm version --git-tag-version=false --commit-hooks=false ${{ github.ref_name }}

0 commit comments

Comments
 (0)