Skip to content

chore(workflow): pin workflow to Node24 so that we can use trusted publisher#170

Merged
marc-vercel merged 1 commit intomainfrom
fix-pipeline-3
Apr 29, 2026
Merged

chore(workflow): pin workflow to Node24 so that we can use trusted publisher#170
marc-vercel merged 1 commit intomainfrom
fix-pipeline-3

Conversation

@marc-vercel
Copy link
Copy Markdown
Collaborator

Enforce Github Actions to use Node24 instead of the default (Node 22) because we need at least npm ≥ 11.5.1 to use trusted publishing.

Node 22 ships with npm 10.x, which is too old and does not support it. We are trying to fix this CI error now:

> changeset publish
🦋  info npm info sandbox
🦋  info npm info @vercel/sandbox
🦋  info sandbox is being published because our local version (2.5.11) has not been published on npm
🦋  info @vercel/sandbox is being published because our local version (1.10.1) has not been published on npm
🦋  info Publishing "sandbox" at "2.5.11"
🦋  info Publishing "@vercel/sandbox" at "1.10.1"
🦋  error an error occurred while publishing @vercel/sandbox: ENEEDAUTH This command requires you to be logged in to https://registry.npmjs.org/ 
🦋  error You need to authorize this machine using `npm adduser`
🦋  error npm error code ENEEDAUTH
🦋  error npm error need auth This command requires you to be logged in to https://registry.npmjs.org/
🦋  error npm error need auth You need to authorize this machine using `npm adduser`
🦋  error npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-04-29T10_02_05_534Z-debug-0.log
🦋  error 
🦋  error an error occurred while publishing sandbox: ENEEDAUTH This command requires you to be logged in to https://registry.npmjs.org/ 
🦋  error You need to authorize this machine using `npm adduser`
🦋  error npm error code ENEEDAUTH
🦋  error npm error need auth This command requires you to be logged in to https://registry.npmjs.org/
🦋  error npm error need auth You need to authorize this machine using `npm adduser`
🦋  error npm error A complete log of this run can be found in: /home/runner/.npm/_logs/2026-04-29T10_02_05_755Z-debug-0.log
🦋  error 
🦋  error packages failed to publish:
🦋  sandbox@2.5.11
🦋  @vercel/sandbox@1.10.1

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented Apr 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sandbox-sdk Ready Ready Preview, Comment Apr 29, 2026 10:11am

@marc-vercel marc-vercel enabled auto-merge (squash) April 29, 2026 10:12
@marc-vercel marc-vercel disabled auto-merge April 29, 2026 10:12
@marc-vercel marc-vercel merged commit 6be9742 into main Apr 29, 2026
14 checks passed
@marc-vercel marc-vercel deleted the fix-pipeline-3 branch April 29, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants