diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4c3406fc54..e70b5b7526 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 3e723b5615..eea34c814d 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