Skip to content

fix: use lerna 9 for v3 publishing - #4669

Merged
czy88840616 merged 1 commit into
3.xfrom
codex/upgrade-v3-publish-lerna
Sep 27, 2026
Merged

czy88840616 merged 1 commit into
3.xfrom
codex/upgrade-v3-publish-lerna

Conversation

@czy88840616

Copy link
Copy Markdown
Member

Summary

  • run the v3 release script with Lerna 9.0.7, matching the v4 publishing stack
  • keep Lerna 7.4.2 for normal v3 development and CI compatibility with older Node.js versions
  • enable npm trusted publishing through Lerna 9's libnpmpublish@11.1.2

Context

The v3 release successfully created and pushed v3.20.25, but npm publishing failed with E404 because Lerna 7 uses libnpmpublish@7.3.0, which does not support OIDC trusted publishing:
https://github.com/midwayjs/midway/actions/runs/36331459361

Verification

  • bash -n scripts/publish.sh
  • verified the pinned publisher reports Lerna 9.0.7
  • verified Lerna 9 can list the v3 workspace
  • git diff --check

Retry

After merging, rerun the v3 workflow with release_type=release and version_bump=existing because the v3.20.25 commit and tag already exist.

@czy88840616
czy88840616 merged commit 20639af into 3.x Sep 27, 2026
3 of 6 checks passed
@czy88840616
czy88840616 deleted the codex/upgrade-v3-publish-lerna branch September 27, 2026 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant