Skip to content

Commit 4830019

Browse files
authored
chore(ci): bump npm cli version (#1624)
1 parent e668b1b commit 4830019

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ jobs:
7373
cache: 'npm'
7474
registry-url: 'https://registry.npmjs.org'
7575

76+
# Ensure npm 11.5.1 or later is installed for trusted publishing support
77+
- name: Update npm
78+
run: npm install -g npm@latest
7679
- name: Install dependencies
7780
run: npm ci --legacy-peer-deps
7881
- name: Configure git
@@ -250,6 +253,9 @@ jobs:
250253
cache: 'npm'
251254
registry-url: 'https://registry.npmjs.org'
252255

256+
# Ensure npm 11.5.1 or later is installed for trusted publishing support
257+
- name: Update npm
258+
run: npm install -g npm@latest
253259
- name: Install dependencies
254260
run: npm ci --legacy-peer-deps
255261
- name: Configure git

0 commit comments

Comments
 (0)