fix: upgrade to node 24 and npm@latest for OIDC trusted publishing (requires npm 11.5.1+)
This commit is contained in:
5
.github/workflows/publish.yml
vendored
5
.github/workflows/publish.yml
vendored
@@ -39,7 +39,10 @@ jobs:
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
node-version: "24"
|
||||
|
||||
- name: Upgrade npm for OIDC trusted publishing
|
||||
run: npm install -g npm@latest
|
||||
|
||||
- name: Configure npm registry
|
||||
run: npm config set registry https://registry.npmjs.org
|
||||
|
||||
Reference in New Issue
Block a user