Skip to content

fix(ci): npm token not working in release workflows#2867

Merged
gabrielmfern merged 1 commit intocanaryfrom
fix/npm-token-not-working
Jan 19, 2026
Merged

fix(ci): npm token not working in release workflows#2867
gabrielmfern merged 1 commit intocanaryfrom
fix/npm-token-not-working

Conversation

@gabrielmfern
Copy link
Member

@gabrielmfern gabrielmfern commented Jan 19, 2026

Summary by cubic

Fixes npm auth in canary and stable release workflows by writing the NPM token to ~/.npmrc, ensuring publishes can run successfully.

  • Bug Fixes
    • Add step to create ~/.npmrc with //registry.npmjs.org/:_authToken from secrets.NPM_TOKEN in both workflows.
    • Remove NPM_TOKEN env from the canary publish step in favor of .npmrc auth.

Written for commit f4f1761. Summary will update on new commits.

@gabrielmfern gabrielmfern requested a review from a team January 19, 2026 19:33
@gabrielmfern gabrielmfern self-assigned this Jan 19, 2026
@gabrielmfern gabrielmfern requested review from vieiralucas and removed request for a team January 19, 2026 19:33
@changeset-bot
Copy link

changeset-bot bot commented Jan 19, 2026

⚠️ No Changeset found

Latest commit: f4f1761

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Jan 19, 2026

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

Project Deployment Review Updated (UTC)
react-email Ready Ready Preview, Comment Jan 19, 2026 7:34pm
react-email-demo Ready Ready Preview, Comment Jan 19, 2026 7:34pm

Request Review

@socket-security
Copy link

@socket-security
Copy link

Warning

Review the following alerts detected in dependencies.

According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.

Action Severity Alert  (click "▶" to expand/collapse)
Warn Medium
Install-time scripts: npm sharp during install

Install script: install

Source: node install/check.js || npm run build

From: ?npm/next@16.1.3npm/sharp@0.34.5

ℹ Read more on: This package | This alert | What is an install script?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/sharp@0.34.5. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

@gabrielmfern gabrielmfern merged commit dea6698 into canary Jan 19, 2026
16 checks passed
@gabrielmfern gabrielmfern deleted the fix/npm-token-not-working branch January 19, 2026 19:45
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