fix: Sync yarn lockfile before upgrading turbo in examples updater#12286
Merged
anthonyshew merged 2 commits intomainfrom Mar 13, 2026
Merged
fix: Sync yarn lockfile before upgrading turbo in examples updater#12286anthonyshew merged 2 commits intomainfrom
anthonyshew merged 2 commits intomainfrom
Conversation
Yarn Classic refuses to run 'upgrade' when the lockfile is out of sync with package.json. Add a 'yarn install' step before the upgrade command in both updater scripts to prevent the post-release workflow from failing.
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
github-actions Bot
added a commit
that referenced
this pull request
Mar 13, 2026
## Release v2.8.18-canary.1 Versioned docs: https://v2-8-18-canary-1.turborepo.dev ### Changes - release(turborepo): 2.8.17-canary.16 (#12282) (`c921a26`) - feat: Add `turbo query affected` CLI shorthand (#12283) (`854309d`) - release(turborepo): 2.8.17 (#12284) (`2e1e26b`) - chore: Add `turborepo-log` crate to improve our logging situation (#12285) (`e9434ca`) - fix: Sync yarn lockfile before upgrading turbo in examples updater (#12286) (`4382338`) - fix: Ensure `pkg#task` CLI args are always included in filtered packages (#12287) (`7e0c584`) - feat: Wire up turborepo-log with TerminalSink and convert first warning (#12289) (`48f4009`) --------- Co-authored-by: Turbobot <turbobot@vercel.com>
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.
Summary
update-examplesworkflow that failed on the 2.8.17 releaseturbo@2.8.17Problem
Yarn Classic refuses to run
upgradewhen the lockfile is out of sync withpackage.json, exiting witherror Outdated lockfile. Please run 'yarn install' and try again.This broke thewith-react-native-webexample during the automated post-release bump.Fix
Added a
yarn installstep before the upgrade command in bothscripts/update-examples-dep.shandexamples/update-turbo.tsso the lockfile is synced before the upgrade runs.