Skip to content

Add --frozen-lockfile to yarn install commands#5255

Merged
rak-phillip merged 1 commit intorancher:masterfrom
rak-phillip:task/ci-frozen-lockfile
Apr 7, 2026
Merged

Add --frozen-lockfile to yarn install commands#5255
rak-phillip merged 1 commit intorancher:masterfrom
rak-phillip:task/ci-frozen-lockfile

Conversation

@rak-phillip
Copy link
Copy Markdown
Member

Summary

This updates yarn install usage to enforce --frozen-lockfile across all yarn and yarn install commands.

Occurred changes and/or fixed issues

  • Add --frozen-lockfile to yarn install commands

Technical notes summary

--frozen-lockfile makes installs deterministic by ensuring that yarn installs the exact dependency versions already defined in yarn.lock. If the lockfile is out of sync with package.json, the install fails immediately instead of silently re-resolving dependencies or mutating the lockfile.

Areas or cases that should be tested

CI should pass without failure.

Related work

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
@rak-phillip rak-phillip added this to the v2.15.0 milestone Apr 2, 2026
@rak-phillip rak-phillip merged commit 6d82618 into rancher:master Apr 7, 2026
2 checks passed
@rak-phillip rak-phillip deleted the task/ci-frozen-lockfile branch April 7, 2026 17:59
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.

2 participants