diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a267d1f91d..4a9b414fcf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,6 +33,13 @@ jobs: with: node-version-file: .nvmrc cache: 'yarn' + - name: Use D:\\ drive for Windows + if: runner.os == 'Windows' + shell: bash + run: | + mkdir -p /d/fast-temp + echo "YARN_GLOBAL_FOLDER=D:\\yarn-data" >> $GITHUB_ENV + echo "TEMP=D:\\fast-temp" >> $GITHUB_ENV - name: Install dependencies run: yarn --immutable - run: yarn run contributors diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 82f54fb443..21117922fd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -33,6 +33,13 @@ jobs: with: node-version-file: .nvmrc cache: 'yarn' + - name: Use D:\\ drive for Windows + if: runner.os == 'Windows' + shell: bash + run: | + mkdir -p /d/fast-temp + echo "YARN_GLOBAL_FOLDER=D:\\yarn-data" >> $GITHUB_ENV + echo "TEMP=D:\\fast-temp" >> $GITHUB_ENV - name: Install dependencies run: yarn --immutable - run: yarn run contributors