diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b0b1ab49ca4d65..ddffdc93605872 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 f8f32c34c6d8dc..8b75229119b393 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