Publish with latest npm version

Apparently publishing with OIDC as an auth method only works with npm
11.5.1 and onward.

(cherry picked from commit e03a54e12a)
This commit is contained in:
Alexander Zeijlon
2025-11-03 13:58:03 +01:00
parent 7808f579df
commit 8f3555b0ee

View File

@@ -23,7 +23,7 @@ jobs:
with:
# Needs to be explicitly specified for auth to work
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm install -g npm@latest
- uses: actions/upload-artifact@v4
with:
name: npm