fix(ci-cd): upgrade lerna to v9 for npm publish - #84
Merged
Conversation
The release workflow failed publishing with `lerna ERR! E404 Not found` for the element/client packages. Lerna 7 does not support npm trusted publishing (OIDC) that the release workflow now relies on, so bump lerna to ^9.0.7 and refresh the lockfile. Ref: https://github.com/sourcefuse/arc-ng-components/actions/runs/34460014331/job/102815359958
Bump the release tooling so it stays consistent with the lerna 9 setup: @commitlint/cli ^19.8.1, @commitlint/config-conventional ^16.2.1 and commitizen ^4.2.5. @commitlint/config-lerna-scopes is bumped to ^19.8.1 because v16 declares a peerOptional on lerna ^3 || ^4, which fails to resolve against lerna 9.
piyushsinghgaur1
force-pushed
the
fix/release
branch
from
September 10, 2026 11:49
ce1f858 to
e25fed6
Compare
Bump the node pin in the CI and release workflows from 20 to 24 and move the actions to checkout@v5 / setup-node@v5. Drop the node_modules cache from the pull request workflow. It only cached the root node_modules, but the workspace dependencies install into packages/*/node_modules, so a cache hit skipped npm ci and left the lib build without @angular/router, shepherd.js and uuid. Cache the npm download cache via setup-node instead and always run npm ci.
piyushsinghgaur1
force-pushed
the
fix/release
branch
from
September 10, 2026 12:28
abb04f7 to
5cadea2
Compare
yeshamavani
approved these changes
Sep 11, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
The Release workflow run failed at the publish step:
The builds themselves succeeded; only
lerna publishfailed.Change
lernafrom^7.3.0to^9.0.7package-lock.jsonaccordinglyLerna 7 predates npm trusted publishing (OIDC), which the release workflow now
relies on after
id-tokenwas added to it.