Skip to content

Commit 4ca68c2

Browse files
committed
ci: retry running the tests
1 parent 2739d27 commit 4ca68c2

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/CI.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,13 @@ jobs:
2626
- name: Install APM dependencies
2727
run: |
2828
apm install
29-
- name: Run tests 👩🏾‍💻
30-
run: npm run test
29+
30+
- name: Run tests
31+
uses: nick-invision/retry@v2
32+
with:
33+
timeout_minutes: 4
34+
max_attempts: 5
35+
command: npm run test
3136

3237
Lint:
3338
if: "!contains(github.event.head_commit.message, '[skip ci]')"

0 commit comments

Comments
 (0)