Commit 45656d33 authored by JJ Kasper's avatar JJ Kasper

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
parent 08e7fd1f
...@@ -283,7 +283,7 @@ jobs: ...@@ -283,7 +283,7 @@ jobs:
# issues with turbo caching # issues with turbo caching
- name: pull build cache - name: pull build cache
if: ${{ matrix.settings.docker }} 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 - name: check build exists
if: ${{ matrix.settings.docker }} if: ${{ matrix.settings.docker }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment