Skip to content

Commit 159bccc

Browse files
Added yarn timeout to prevent build errors on windows
1 parent 952a05a commit 159bccc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
with:
1111
node-version: 16
1212
- name: install dependencies
13-
run: yarn install
13+
run: yarn install --network-timeout 300000
1414
- name: build
1515
run: yarn make
1616

@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
node-version: 16
2424
- name: install dependencies
25-
run: yarn install
25+
run: yarn install --network-timeout 300000
2626
- name: build
2727
run: yarn make
2828

@@ -34,6 +34,6 @@ jobs:
3434
with:
3535
node-version: 16
3636
- name: install dependencies
37-
run: yarn install
37+
run: yarn install --network-timeout 300000
3838
- name: build
3939
run: yarn make

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
with:
1515
node-version: 16
1616
- name: install dependencies
17-
run: yarn install
17+
run: yarn install --network-timeout 300000
1818
- name: publish
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -28,7 +28,7 @@ jobs:
2828
with:
2929
node-version: 16
3030
- name: install dependencies
31-
run: yarn install
31+
run: yarn install --network-timeout 300000
3232
- name: publish
3333
env:
3434
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -42,7 +42,7 @@ jobs:
4242
with:
4343
node-version: 16
4444
- name: install dependencies
45-
run: yarn install
45+
run: yarn install --network-timeout 300000
4646
- name: publish
4747
env:
4848
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)