Skip to content

Commit af3d10a

Browse files
Copilotjeswr
andcommitted
Pin npm version to ^11.5.1 for OIDC support
Co-authored-by: jeswr <63333554+jeswr@users.noreply.github.com>
1 parent e7878f9 commit af3d10a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
with:
7878
node-version: 20.x
7979
registry-url: 'https://registry.npmjs.org'
80-
- run: npm i -g npm@latest
80+
- run: npm i -g npm@^11.5.1
8181
- uses: rlespinasse/github-slug-action@v4.x
8282
- name: Append commit hash to package version
8383
run: 'sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
@@ -98,7 +98,7 @@ jobs:
9898
with:
9999
node-version: 20.x
100100
registry-url: 'https://registry.npmjs.org'
101-
- run: npm i -g npm@latest
101+
- run: npm i -g npm@^11.5.1
102102
- name: Disable pre- and post-publish actions
103103
run: 'sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
104104
- name: Publish to npm

0 commit comments

Comments
 (0)