Skip to content

Commit

Permalink
ci: retry yarn install 3 times (#21916)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed May 2, 2023
1 parent fa36011 commit a45e7fb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release-npm.yml
Expand Up @@ -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
Expand Down

0 comments on commit a45e7fb

Please sign in to comment.