-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ci: fix npm publish workflow #11088
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: fix npm publish workflow #11088
Conversation
|
Claude finished @Brooooooklyn's task —— View job PR Review: Fix npm publish workflowI've completed my comprehensive review of this PR focusing on the npm publish workflow fix and NAPI-RS 3.0 upgrade. Review Tasks:
✅ Code Quality & ArchitectureThe changes demonstrate solid technical decision-making: Workflow Fix (Critical Fix): (cd packages/${{ inputs.package }} && yarn workspaces foreach -Rt npm publish --tolerate-republish --tag $NPM_TAG) This uses NAPI-RS 3.0 Upgrade:
✅ Security AssessmentNo security concerns identified:
✅ Performance ConsiderationsPerformance impact is positive:
🔍 Potential Areas of Concern
✅ Code ConsistencyExcellent consistency across the codebase:
📋 Recommendations
🎯 Overall Assessment✅ LGTM - Recommend Approval This PR successfully addresses a critical npm publishing issue while cleanly upgrading to NAPI-RS 3.0. The technical execution is solid with proper error handling, security practices, and consistent implementation across the large codebase. The workflow fix using The scope is large but the changes are methodical and well-executed. The author's note about needing testing is valid - this should be carefully monitored in the first publish cycle. |
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
CodSpeed Performance ReportMerging #11088 will not alter performanceComparing Summary
Footnotes |
02ecb98
to
c4c6179
Compare
@kdy1 This should resolve the publishing issue. The root cause was that SWC added npm/* to the Yarn workspaces, which caused dual publishing with the I’m unable to test the publish CI, so if you want to merge it, please ensure the publish CI has been tested beforehand. |
Thank you so much! I’ll take a look when I have some time. |
swc_html_minifier = "32.0.0" | ||
swc_malloc = "1.2.3" | ||
swc_nodejs_common = "1.0.2" | ||
swc_atoms = { path = "../crates/swc_atoms" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you revert these changes? This breaks nodejs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't upgrade NAPI-RS independently in bindings/*
because the crates/*
also depend on napi
and napi-derive
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you anyway!
Description:
BREAKING CHANGE:
Related issue (if exists):