Skip to content

Commit 698dfe9

Browse files
retry
1 parent 0797ae6 commit 698dfe9

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/ci.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
- uses: actions/checkout@v4
99
- uses: actions/setup-node@v3.1.1
1010
with:
11-
node-version: '22.18.0'
11+
node-version: "22.18.0"
1212
- run: npm install -g "yarn@1.22.5"
1313
shell: bash
1414
- uses: nick-fields/retry@v2
@@ -36,7 +36,12 @@ jobs:
3636
uses: actions/setup-node@v1
3737
with:
3838
node-version: ${{ matrix.node-version }}
39-
- run: yarn install
39+
- uses: nick-fields/retry@v2
40+
with:
41+
timeout_minutes: 6
42+
max_attempts: 3
43+
retry_on: error
44+
command: yarn install --immutable
4045
- run: yarn test
4146

4247
run-depcheck:
@@ -47,6 +52,12 @@ jobs:
4752
uses: actions/setup-node@v1
4853
with:
4954
node-version: 22.x
55+
- uses: nick-fields/retry@v2
56+
with:
57+
timeout_minutes: 6
58+
max_attempts: 3
59+
retry_on: error
60+
command: yarn install --immutable
5061
- run: yarn depcheck
5162

5263
run-pre-commits:
@@ -76,7 +87,7 @@ jobs:
7687
uses: actions/checkout@v2
7788
- uses: actions/setup-node@v2
7889
with:
79-
node-version: '22.x'
90+
node-version: "22.x"
8091
- name: Configure NPM authentication
8192
run: |
8293
yarn config set npmAlwaysAuth true
@@ -96,7 +107,7 @@ jobs:
96107
uses: actions/checkout@v2
97108
- uses: actions/setup-node@v2
98109
with:
99-
node-version: '22.x'
110+
node-version: "22.x"
100111
- name: Configure Github Packages authentication
101112
run: |
102113
yarn config set npmAlwaysAuth true

0 commit comments

Comments
 (0)