From cec63c7799240221ce7da88dd80ed0b27173282f Mon Sep 17 00:00:00 2001 From: kytwb Date: Fri, 24 Dec 2021 01:35:50 +0100 Subject: Retry npm i on windows --- .github/workflows/builds.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index 3f356e1e0..18aac81f8 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml @@ -328,8 +328,12 @@ jobs: with: version: 6.23.6 - name: Install node dependencies - run: npm i - shell: bash + uses: nick-invision/retry@v2.4.0 + with: + command: npm i + timeout_minutes: 15 + max_attempts: 3 + retry_on: error - name: Package recipes run: pnpm i && pnpm run package working-directory: ./recipes -- cgit v1.2.3-54-g00ecf