Skip to content

fix(release): drop NPM_CONFIG_UNSAFE_PERM env#1685

Merged
lucasmcdonald3 merged 1 commit into
v4.xfrom
fix-v4.x-remove-unsafe-perm-env
Jul 23, 2026
Merged

fix(release): drop NPM_CONFIG_UNSAFE_PERM env#1685
lucasmcdonald3 merged 1 commit into
v4.xfrom
fix-v4.x-remove-unsafe-perm-env

Conversation

@lucasmcdonald3

@lucasmcdonald3 lucasmcdonald3 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

Remove NPM_CONFIG_UNSAFE_PERM: true env.

npm 12 warns on this; it will error on it in a future major.

This mirrors the same removal on master in #1682.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

npm 12 warns on unsafe-perm and will error on it in a future major; the
release publish job runs npm@latest, so drop the workflow-level env.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the production release GitHub Actions workflow to remove the NPM_CONFIG_UNSAFE_PERM environment variable, avoiding npm 12 warnings (and future errors) related to the deprecated unsafe-perm configuration.

Changes:

  • Removed NPM_CONFIG_UNSAFE_PERM: true from the workflow-level env in the production release pipeline.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lucasmcdonald3
lucasmcdonald3 merged commit abc3be5 into v4.x Jul 23, 2026
64 of 66 checks passed
@lucasmcdonald3
lucasmcdonald3 deleted the fix-v4.x-remove-unsafe-perm-env branch July 23, 2026 16:40
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.

3 participants