Skip to content

Conversation

gabrielmfern
Copy link
Member

@gabrielmfern gabrielmfern commented Aug 21, 2025

Adds in a new Preview Release gh workflow that runs the Node SDK through https://pkg.pr.new to publish it in their repository. It runs on an pull requests, but only publishes if it finds changes inside the src directory.

When it actually runs and publishes, a new comment is added to the pull request/commit:

CleanShot 2025-08-21 at 15 33 55@2x

This screenshot is from #582, which tests the workflow out.

It can then be installed and will be the same as running from an npm package. It's also helpful for users to install versions from pull requests to avoid them being blocked.

This is already being used in React Email, works amazingly, and this pull request now standardizes between both.

Copy link

socket-security bot commented Aug 21, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpkg-pr-new@​0.0.56991007096100

View full report

@gabrielmfern gabrielmfern marked this pull request as ready for review August 21, 2025 18:36
@gabrielmfern gabrielmfern requested a review from a team as a code owner August 21, 2025 18:36
@gabrielmfern gabrielmfern changed the title feat: pkg-pr-new workflow :D feat: pkg-pr-new workflow Aug 21, 2025
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.

1 issue found across 3 files

React with 👍 or 👎 to teach cubic. You can also tag @cubic-dev-ai to give feedback, ask questions, or re-run the review.

@gabrielmfern gabrielmfern merged commit 8666e27 into canary Aug 22, 2025
9 checks passed
@gabrielmfern gabrielmfern deleted the feat/pkg-pr-new-workflow branch August 22, 2025 14:54
gabrielmfern added a commit that referenced this pull request Sep 11, 2025
Co-authored-by: Carolina de Moraes Josephik <[email protected]>
CarolinaMoraes added a commit that referenced this pull request Sep 29, 2025
Co-authored-by: Carolina de Moraes Josephik <[email protected]>
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