Skip to content

fix(repo): revert sudo for global npm install in publish workflow#34451

Merged
FrozenPandaz merged 1 commit intomasterfrom
fix-release-oidc
Feb 13, 2026
Merged

fix(repo): revert sudo for global npm install in publish workflow#34451
FrozenPandaz merged 1 commit intomasterfrom
fix-release-oidc

Conversation

@FrozenPandaz
Copy link
Copy Markdown
Contributor

Current Behavior

The publish workflow uses sudo npm install -g npm@11.5.2 which was added in #34409. This causes issues with OIDC token permissions in the release pipeline since sudo runs as a different user context.

Expected Behavior

The publish workflow should use npm install -g npm@11.5.2 without sudo, matching the standard approach used elsewhere and avoiding permission context issues during release.

Related Issue(s)

Reverts #34409

@FrozenPandaz FrozenPandaz requested a review from a team as a code owner February 13, 2026 20:48
@FrozenPandaz FrozenPandaz requested a review from jaysoo February 13, 2026 20:48
@nx-cloud
Copy link
Copy Markdown
Contributor

nx-cloud Bot commented Feb 13, 2026

View your CI Pipeline Execution ↗ for commit e856778

Command Status Duration Result
nx run-many -t check-imports check-lock-files c... ✅ Succeeded 3m 53s View ↗
nx affected --targets=lint,test,test-kt,build,e... ✅ Succeeded <1s View ↗
nx-cloud record -- nx-cloud conformance:check ✅ Succeeded 9s View ↗
nx-cloud record -- nx format:check ✅ Succeeded <1s View ↗
nx-cloud record -- nx sync:check ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-02-13 20:56:42 UTC

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 13, 2026

Deploy Preview for nx-docs ready!

Name Link
🔨 Latest commit e856778
🔍 Latest deploy log https://app.netlify.com/projects/nx-docs/deploys/698f8e27f292ae000875b550
😎 Deploy Preview https://deploy-preview-34451--nx-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 13, 2026

Deploy Preview for nx-dev ready!

Name Link
🔨 Latest commit e856778
🔍 Latest deploy log https://app.netlify.com/projects/nx-dev/deploys/698f8e27073584000868600d
😎 Deploy Preview https://deploy-preview-34451--nx-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@FrozenPandaz FrozenPandaz merged commit d64e41d into master Feb 13, 2026
20 of 23 checks passed
@FrozenPandaz FrozenPandaz deleted the fix-release-oidc branch February 13, 2026 20:53
FrozenPandaz added a commit that referenced this pull request Feb 13, 2026
…4451)

## Current Behavior

The publish workflow uses `sudo npm install -g npm@11.5.2` which was
added in #34409. This causes issues with OIDC token permissions in the
release pipeline since `sudo` runs as a different user context.

## Expected Behavior

The publish workflow should use `npm install -g npm@11.5.2` without
`sudo`, matching the standard approach used elsewhere and avoiding
permission context issues during release.

## Related Issue(s)

Reverts #34409
@github-actions
Copy link
Copy Markdown
Contributor

This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Feb 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants