mirror of
https://github.com/novnc/noVNC.git
synced 2026-08-29 08:34:26 +08:00
Use Node version 24 when publishing to npmjs
Node 24 comes with npm > 11.5.1 which we need in order to publish with
OIDC auth.
This also reverts the change in commit e03a54e, which broke the
publishing step.
This commit is contained in:
@@ -21,9 +21,12 @@ jobs:
|
|||||||
if: github.event_name != 'release'
|
if: github.event_name != 'release'
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
|
# Node 24 is needed to get npm > 11.5.1, which is a requirement for
|
||||||
|
# OIDC auth.
|
||||||
|
node-version: 24
|
||||||
# Needs to be explicitly specified for auth to work
|
# Needs to be explicitly specified for auth to work
|
||||||
registry-url: 'https://registry.npmjs.org'
|
registry-url: 'https://registry.npmjs.org'
|
||||||
- run: npm install -g npm@latest
|
- run: npm install
|
||||||
- uses: actions/upload-artifact@v4
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: npm
|
name: npm
|
||||||
|
|||||||
Reference in New Issue
Block a user