Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update Turbo to v2.2 #1449

Merged
merged 15 commits into from
Oct 23, 2024
Merged

chore: Update Turbo to v2.2 #1449

merged 15 commits into from
Oct 23, 2024

Conversation

amannn
Copy link
Owner

@amannn amannn commented Oct 22, 2024

Fixes #1431

Changes

  • Initial execution of the main workflow: 12m 55s
  • Fully parallel: 9m 52s
  • Full turbo 🚀: 1m 9s

One thing that's missing is getting --affected to work correctly (see warning in job).

Copy link

vercel bot commented Oct 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
next-intl-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 3:31pm
next-intl-example-app-router ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 3:31pm
next-intl-example-app-router-without-i18n-routing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 23, 2024 3:31pm

@@ -24,7 +24,7 @@
"conventional-changelog-conventionalcommits": "^7.0.0",
"execa": "^9.2.0",
"rollup": "^4.18.0",
"turbo": "^2.0.4"
"turbo": "^2.2.3"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Been following the guide at https://vercel.com/docs/monorepos/remote-caching#enable-and-disable-remote-caching-for-your-team.

Step 1

"Remote Caching" is enabled for the "next-intl" team on Vercel.

Step 2

Running npx turbo login locally yields this error:

❯ npx turbo login

turbo 2.2.3

  × Error making HTTP request: error decoding response body: missing field `origin` at line 1
  │ column 258
  ├─▶ error decoding response body: missing field `origin` at line 1 column 258
  ╰─▶ missing field `origin` at line 1 column 258

Step 3

Running npx turbo link did work though.

Step 4

(skipped)

Step 5

Locally Turbo caching works as expected (was already the case before).


CI Config

  • TURBO_TEAM is set to next-intl in a GH Actions variable
  • TURBO_TOKEN is set in a GH Actions secret

env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here's the most recent CI run: https://github.com/amannn/next-intl/actions/runs/11474295438/job/31929959155?pr=1449.

At the beginning of "Run pnpm run build" there are these entries:

Screenshot 2024-10-23 at 08 29 32

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.

Speed up CI
1 participant