Remove hardcoded version from workflow #194
Open
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.
List of changes
corepack
turbo
on major version 2Motivation and context
We want to use the latest
turbo
version in our workflows.Type of changes
Does this introduce a change to production resources with possible user impact?
It can impact those projects that are pointing to
main
when referencing the updated workflow.Other information
There is a PR that shows how to migrate from
turbo
1 to version 2.Reference: pagopa/trial-system#267
Migration guide
First, check the official documentation for any doubts.
yarn dlx @turbo/codemod migrate
ornpx @turbo/codemod migrate
(official tool that should help to migrate. Follow the wizard)turbo.json
file and try to install the latest version ofturbo
turbo.json
file following these stepsturbo
, try to do it manually:yarn add -D turbo
turbo