ci: dont version private packages #10333
Merged
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
Recently, the
getting-started
jobs in CI have been failing, as seen in this run:https://github.com/Agoric/agoric-sdk/actions/runs/11489549535/job/31978567100
https://github.com/Agoric/agoric-sdk/actions/runs/11493429719/job/31989112054?pr=10323
The issue is due to a missing
CHANGELOG.md
file in thepackages/fast-usdc
folder. During the CI process, the scriptscripts/registry.sh
runs the following command in thepublish
function:This command uses
Lerna
to version the packages, a part of which involves updating theCHANGELOG.md
files for each package. Since theCHANGELOG.md
file is missing in thefast-usdc
package, Lerna creates one. This results in a dirty Git tree(There is a check for that), causing subsequent steps in the workflow to fail and leading to the CI job failure.This PR has been created to add an
--no-private
to avoid versioning private packages. Thanks to @mujahidkay for this suggestion.Security Considerations
Scaling Considerations
Documentation Considerations
Testing Considerations
Upgrade Considerations