ci: fix timeout during yarn installing

This commit is contained in:
LongYinan 2020-12-09 11:03:59 +08:00
parent 710eb1516c
commit 7f2c92fa79
No known key found for this signature in database
GPG key ID: A3FFE134A3E20881
6 changed files with 6 additions and 6 deletions

View file

@ -54,7 +54,7 @@ jobs:
key: bench-${{ hashFiles('yarn.lock') }}
- name: 'Install dependencies'
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: 'Build ts'
run: yarn build

View file

@ -52,7 +52,7 @@ jobs:
key: lint-${{ hashFiles('yarn.lock') }}
- name: 'Install dependencies'
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: 'Lint JS/TS'
run: yarn lint

View file

@ -63,7 +63,7 @@ jobs:
run: sudo apt-get install gcc-aarch64-linux-gnu g++-6-aarch64-linux-gnu -y
- name: Install dependencies
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: 'Build TypeScript'
run: yarn build

View file

@ -63,7 +63,7 @@ jobs:
run: sudo apt-get install gcc-arm-linux-gnueabihf -y
- name: Install dependencies
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: 'Build TypeScript'
run: yarn build

View file

@ -60,7 +60,7 @@ jobs:
key: npm-cache-${{ matrix.os }}-node@${{ matrix.node }}-${{ hashFiles('yarn.lock') }}
- name: 'Install dependencies'
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: 'Build TypeScript'
run: yarn build

View file

@ -32,7 +32,7 @@ jobs:
key: npm-cache-windows-i686-node@lts-${{ hashFiles('yarn.lock') }}
- name: 'Install dependencies'
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org
run: yarn install --frozen-lockfile --registry https://registry.npmjs.org --network-timeout 300000
- name: 'Build TypeScript'
run: yarn build