Increase yarn timeout when installing packages (#13347)

* Increase yarn timeout when installing packages

* Update other platforms
This commit is contained in:
Charles Gagnon
2020-11-10 16:05:50 -08:00
committed by GitHub
parent 8bbcfff119
commit d4e8053797

View File

@@ -31,7 +31,10 @@ jobs:
with: with:
node-version: 10 node-version: 10
# TODO: cache node modules # TODO: cache node modules
- run: yarn --frozen-lockfile # Increase timeout to get around latency issues when fetching certain packages
- run: |
yarn config set network-timeout 300000
yarn --frozen-lockfile
name: Install Dependencies name: Install Dependencies
- run: yarn electron x64 - run: yarn electron x64
name: Download Electron name: Download Electron
@@ -79,7 +82,10 @@ jobs:
- uses: actions/setup-python@v1 - uses: actions/setup-python@v1
with: with:
python-version: '2.x' python-version: '2.x'
- run: yarn --frozen-lockfile # Increase timeout to get around latency issues when fetching certain packages
- run: |
yarn config set network-timeout 300000
yarn --frozen-lockfile
name: Install Dependencies name: Install Dependencies
- run: yarn electron - run: yarn electron
name: Download Electron name: Download Electron
@@ -112,7 +118,10 @@ jobs:
- uses: actions/setup-node@v1 - uses: actions/setup-node@v1
with: with:
node-version: 10 node-version: 10
- run: yarn --frozen-lockfile # Increase timeout to get around latency issues when fetching certain packages
- run: |
yarn config set network-timeout 300000
yarn --frozen-lockfile
name: Install Dependencies name: Install Dependencies
- run: yarn electron x64 - run: yarn electron x64
name: Download Electron name: Download Electron