diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0b1ab49ca4d6532d0835f495bc06244e16c5036..ddffdc936058722a12d1637e15141fdd9d8428d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -77,7 +77,11 @@ jobs: echo "Yarn $(yarn --version)" - name: Installing dependencies - run: yarn install --frozen-lockfile + uses: nick-fields/retry@v2.8.3 + with: + timeout_minutes: 10 + max_attempts: 3 + command: yarn install --frozen-lockfile # build before tests to for static file check - name: Build diff --git a/.github/workflows/release-npm.yml b/.github/workflows/release-npm.yml index f8f32c34c6d8dc603a5cd6a27df43a4f255694b7..8b75229119b393abef6e72e1f44ffb79f280be9f 100644 --- a/.github/workflows/release-npm.yml +++ b/.github/workflows/release-npm.yml @@ -58,7 +58,11 @@ jobs: yarn config set version-git-tag false - name: Installing dependencies - run: yarn install --frozen-lockfile + uses: nick-fields/retry@v2.8.3 + with: + timeout_minutes: 10 + max_attempts: 3 + command: yarn install --frozen-lockfile - name: Build ${{ env.NPM_VERSION }} run: yarn build