Ensure turbo is setup when building in docker (#66804)
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
This commit is contained in:
parent
f34445e25a
commit
73918c6711
1 changed files with 1 additions and 1 deletions
2
.github/workflows/build_and_deploy.yml
vendored
2
.github/workflows/build_and_deploy.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue