mirror of
https://github.com/Eugeny/tabby.git
synced 2024-12-23 02:22:02 +03:00
increase yarn network-timeout
This commit is contained in:
parent
d1ac265d79
commit
76892c4f5c
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
@ -2,7 +2,7 @@ name: Package-Build
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
Lint:
|
Lint:
|
||||||
runs-on: macos-11.0
|
runs-on: macos-11
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -31,7 +31,7 @@ jobs:
|
|||||||
run: yarn run lint
|
run: yarn run lint
|
||||||
|
|
||||||
macOS-Build:
|
macOS-Build:
|
||||||
runs-on: macos-11.0
|
runs-on: macos-11
|
||||||
needs: Lint
|
needs: Lint
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@ -54,10 +54,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo npm i -g yarn@1.22.1
|
sudo npm i -g yarn@1.22.1
|
||||||
cd app
|
cd app
|
||||||
yarn
|
yarn --network-timeout 1000000
|
||||||
cd ..
|
cd ..
|
||||||
rm app/node_modules/.yarn-integrity
|
rm app/node_modules/.yarn-integrity
|
||||||
yarn
|
yarn --network-timeout 1000000
|
||||||
|
|
||||||
- name: Build native deps
|
- name: Build native deps
|
||||||
run: scripts/build-native.js
|
run: scripts/build-native.js
|
||||||
@ -149,10 +149,10 @@ jobs:
|
|||||||
sudo apt-get install libarchive-tools zsh
|
sudo apt-get install libarchive-tools zsh
|
||||||
npm i -g yarn@1.19.1
|
npm i -g yarn@1.19.1
|
||||||
cd app
|
cd app
|
||||||
yarn
|
yarn --network-timeout 1000000
|
||||||
cd ..
|
cd ..
|
||||||
rm app/node_modules/.yarn-integrity
|
rm app/node_modules/.yarn-integrity
|
||||||
yarn
|
yarn --network-timeout 1000000
|
||||||
|
|
||||||
- name: Build native deps
|
- name: Build native deps
|
||||||
run: scripts/build-native.js
|
run: scripts/build-native.js
|
||||||
@ -266,7 +266,7 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
npm i -g yarn@1.19.1
|
npm i -g yarn@1.19.1
|
||||||
yarn
|
yarn --network-timeout 1000000
|
||||||
node scripts/build-native.js
|
node scripts/build-native.js
|
||||||
yarn run build
|
yarn run build
|
||||||
node scripts/prepackage-plugins.js
|
node scripts/prepackage-plugins.js
|
||||||
|
@ -9,18 +9,18 @@ sh.exec(`yarn patch-package`, { fatal: true })
|
|||||||
log.info('deps', 'app')
|
log.info('deps', 'app')
|
||||||
|
|
||||||
sh.cd('app')
|
sh.cd('app')
|
||||||
sh.exec(`yarn install --force`, { fatal: true })
|
sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true })
|
||||||
sh.cd('..')
|
sh.cd('..')
|
||||||
|
|
||||||
sh.cd('web')
|
sh.cd('web')
|
||||||
sh.exec(`yarn install --force`, { fatal: true })
|
sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true })
|
||||||
sh.exec(`yarn patch-package`, { fatal: true })
|
sh.exec(`yarn patch-package`, { fatal: true })
|
||||||
sh.cd('..')
|
sh.cd('..')
|
||||||
|
|
||||||
vars.allPackages.forEach(plugin => {
|
vars.allPackages.forEach(plugin => {
|
||||||
log.info('deps', plugin)
|
log.info('deps', plugin)
|
||||||
sh.cd(plugin)
|
sh.cd(plugin)
|
||||||
sh.exec(`yarn install --force`, { fatal: true })
|
sh.exec(`yarn install --force --network-timeout 1000000`, { fatal: true })
|
||||||
sh.cd('..')
|
sh.cd('..')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user