-
fix(repo): revert sudo for global npm install in publish workflow (#34451)
发布于
2026-02-13 20:54:46 +00:00 Current Behavior
The publish workflow uses
sudo npm install -g npm@11.5.2which was
added in #34409. This causes issues with OIDC token permissions in the
release pipeline sincesudoruns as a different user context.Expected Behavior
The publish workflow should use
npm install -g npm@11.5.2without
sudo, matching the standard approach used elsewhere and avoiding
permission context issues during release.Related Issue(s)
Reverts #34409
下载附件