Skip to content

Commit 8accb80

Browse files
committed
ci: ensure using latest version of npm in release workflow
1 parent b6ed3fa commit 8accb80

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
node-version: '22'
3535
registry-url: 'https://registry.npmjs.org'
3636

37+
# Upgrade npm to the required version for Trusted Publishing
38+
- name: Upgrade npm
39+
run: npm install -g npm@latest
40+
3741
- name: Install dependencies 🔧
3842
run: yarn install --frozen-lockfile
3943

0 commit comments

Comments
 (0)