From 5db0c84fc4381b04b391e4b6d8d2920413ff5582 Mon Sep 17 00:00:00 2001 From: milahu Date: Mon, 21 Sep 2020 21:01:01 +0200 Subject: [PATCH] use retry_on: timeout --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 927b16ea61..6162c51b77 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,11 +17,13 @@ jobs: with: timeout_minutes: 2 max_attempts: 3 + retry_on: timeout command: npm install - uses: nick-invision/retry@v1 with: timeout_minutes: 5 max_attempts: 3 + retry_on: timeout command: npm test env: CI: true @@ -45,9 +47,11 @@ jobs: with: timeout_minutes: 2 max_attempts: 3 + retry_on: timeout command: npm install - uses: nick-invision/retry@v1 with: timeout_minutes: 5 max_attempts: 3 + retry_on: timeout command: 'npm run test:unit'