Skip to content

Commit aa14836

Browse files
committed
chore: enhance NPM publishing workflow with npm upgrade step
1 parent f645f6f commit aa14836

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ jobs:
2323
uses: actions/setup-node@v4
2424
with:
2525
node-version: 20
26+
registry-url: 'https://registry.npmjs.org'
27+
# Ensure npm 11.5.1 or later is installed
28+
- name: Upgrade npm
29+
run: npm install -g npm@latest
30+
2631
- name: Setup pnpm
2732
uses: pnpm/action-setup@v2
2833
with:

0 commit comments

Comments
 (0)