diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 52ad5039b0..1aa1ca52ea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -94,6 +94,18 @@ jobs: - name: Checkout code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Set Yarn global folder for Windows + if: runner.os == 'Windows' + shell: bash + run: yarn config set globalFolder "D:\\yarn-data" + + - name: Set TEMP for Windows + if: runner.os == 'Windows' + shell: bash + run: | + mkdir -p /d/fast-temp + echo "TEMP=D:\\fast-temp" >> $GITHUB_ENV + - name: Install dependencies run: yarn install --immutable @@ -170,6 +182,18 @@ jobs: - name: Checkout code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 + - name: Set Yarn global folder for Windows + if: runner.os == 'Windows' + shell: bash + run: yarn config set globalFolder "D:\\yarn-data" + + - name: Set TEMP for Windows + if: runner.os == 'Windows' + shell: bash + run: | + mkdir -p /d/fast-temp + echo "TEMP=D:\\fast-temp" >> $GITHUB_ENV + - name: Install dependencies run: yarn install --immutable