Skip to content

chore: simplify dryRun mode in release#1692

Merged
david-luna merged 10 commits into
mainfrom
simplify-dry-run
Feb 9, 2026
Merged

chore: simplify dryRun mode in release#1692
david-luna merged 10 commits into
mainfrom
simplify-dry-run

Conversation

@david-luna
Copy link
Copy Markdown
Member

Since #1651 the release process in dryRun mode has had issues. The main reason is because we're using verdaccio as a local registry to publish the packages locally and it does not support provenance neither trusted publishers.

There has been some attempts to keep publishing locally in:

but IMO these are workarounds to do something that is far from doing an actual release with lerna.

This PR tries to simplify by making the dryRun mode behave like some CLI tools where they just print the list of actions that the command is going to do. In this case the dryRun mode is going to exec the lerna publish command in interactive mode and respond no when the command prompts for confirmation. Once canceled it will check in the stdout if lerna detected the packages to be published.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Feb 6, 2026

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@david-luna david-luna requested a review from trentm February 6, 2026 17:25
trentm
trentm previously approved these changes Feb 6, 2026
Copy link
Copy Markdown
Member

@trentm trentm left a comment

Choose a reason for hiding this comment

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

FWIW, I'd also be fine just not doing dry-run releases for every commit. Not really my repo though. :)

@trentm
Copy link
Copy Markdown
Member

trentm commented Feb 6, 2026

FWIW, I'd also be fine just not doing dry-run releases for every commit

Oh, looks like this is already only on: workflow_dispatch, so nevermind.

@david-luna david-luna merged commit a613fe3 into main Feb 9, 2026
32 of 33 checks passed
@david-luna david-luna deleted the simplify-dry-run branch February 9, 2026 17:01
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.

3 participants