Skip to content

Commit

Permalink
Ensure turbo is setup when building in docker (#66804)
Browse files Browse the repository at this point in the history
This ensures we always set up turbo to the version we expect even if
we're building in docker since the cache is pulled outside of docker.

x-ref:
https://github.com/vercel/next.js/actions/runs/9484631800/job/26134568488
  • Loading branch information
ijjk authored Jun 12, 2024
1 parent f34445e commit 73918c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ jobs:
# issues with turbo caching
- name: pull build cache
if: ${{ matrix.settings.docker }}
run: node ./scripts/pull-turbo-cache.js ${{ matrix.settings.target }}
run: npm i -g turbo@${{ env.TURBO_VERSION }} && node ./scripts/pull-turbo-cache.js ${{ matrix.settings.target }}

- name: check build exists
if: ${{ matrix.settings.docker }}
Expand Down

0 comments on commit 73918c6

Please sign in to comment.