Skip to content

Commit d3d69a8

Browse files
committed
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.
1 parent e03a54e commit d3d69a8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@ jobs:
2121
if: github.event_name != 'release'
2222
- uses: actions/setup-node@v4
2323
with:
24+
# Node 24 is needed to get npm > 11.5.1, which is a requirement for
25+
# OIDC auth.
26+
node-version: 24
2427
# Needs to be explicitly specified for auth to work
2528
registry-url: 'https://registry.npmjs.org'
26-
- run: npm install -g npm@latest
29+
- run: npm install
2730
- uses: actions/upload-artifact@v4
2831
with:
2932
name: npm

0 commit comments

Comments
 (0)