From 534ed0cad5e0b21a12b5452814841bfd22675866 Mon Sep 17 00:00:00 2001 From: Quang Lam Date: Sun, 6 Sep 2020 14:20:10 +0700 Subject: [PATCH] Fix network timeout when yarn install @material-ui/icons (#228) --- .github/workflows/linux.yml | 3 ++- .github/workflows/macos.yml | 3 ++- .github/workflows/windows.yml | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 27f4a0d1..b703897d 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -38,7 +38,8 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - - run: yarn --prefer-offline + # https://github.com/mui-org/material-ui/issues/12432 + - run: yarn --prefer-offline --network-timeout 600000 - run: yarn lint - run: yarn test - name: Get tag name diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 10830039..679061e5 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -36,7 +36,8 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - - run: yarn --prefer-offline + # https://github.com/mui-org/material-ui/issues/12432 + - run: yarn --prefer-offline --network-timeout 600000 - run: yarn lint - run: yarn test - name: Get tag name diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0751e32f..70ae4149 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -36,7 +36,8 @@ jobs: key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} restore-keys: | ${{ runner.os }}-yarn- - - run: yarn --prefer-offline + # https://github.com/mui-org/material-ui/issues/12432 + - run: yarn --prefer-offline --network-timeout 600000 - run: yarn lint - run: yarn test - name: Get tag name