You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added a step in the release workflow (after dry-run) that creates the changesets.json and runs a script that checks if each included package already exists on npm. Tested locally with a fake changesets.json.
🔮 Design review
Design review done
No design review needed
🧪 Visual regression tests
Visual changes detected and approved (Check this box if VRT fails and changes are intentional)
📝 Checklist
✅ My code follows the style guidelines of this project
🛠️ I have performed a self-review of my own code
📄 I have made corresponding changes to the documentation
⚠️ My changes generate no new warnings or errors
🧪 I have added tests that prove my fix is effective or that my feature works
✔️ New and existing unit tests pass locally with my changes
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
myrtasakellariou
changed the title
add workflow step to check if released packages exist on npm
chore(workflow): add step in the release workflow to check if all packages exist on npm
Sep 7, 2026
The reason will be displayed to describe this comment to others. Learn more.
Suggested change
- name: Check release packages exist on npm
# Trusted publishing on the public npm registry requires the package
# to already exist before we release it with the "trusted publishing" method.
# New packages must first be published manually with a placeholder
# version (e.g. 0.0.0), then configured for trusted publishing on npmjs.com.
# This check fails fast if a queued package hasn't been bootstrapped yet.
- name: Verify packages to release exist on the public npm registry
Alternatively, you could add the information about the placeholder package with version 0.0.0 in the check-packages-on-npm.mjs script.
But I think it would be helpful to know, it can be a dummy package initially, just to configure trusted publishing, before the "real" package will be released through the trusted publishing mechanism by our release workflow.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📄 Description
Added a step in the release workflow (after dry-run) that creates the
changesets.jsonand runs a script that checks if each included package already exists on npm. Tested locally with a fakechangesets.json.🔮 Design review
🧪 Visual regression tests
📝 Checklist