Skip to content

Commit

Permalink
CI should retry Yarn install
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Nov 18, 2024
1 parent 5f357dd commit 1d216ac
Show file tree
Hide file tree
Showing 13 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/argos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
node-version: lts/*

- name: Install dependencies
run: yarn || yarn
run: yarn || yarn || yarn

- name: Install Playwright browsers
run: npx playwright install --with-deps chromium
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-blog-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
node-version: lts/*
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn
- name: Build blog-only
run: yarn workspace website build:blogOnly
2 changes: 1 addition & 1 deletion .github/workflows/build-hash-router.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
node-version: lts/*
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn

- name: Build Hash Router
run: yarn build:website:fast
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
node-version: lts/*
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn

# Ensure build with a cold cache does not increase too much
- name: Build (cold cache)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/canary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
env:
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn
- name: Publish Canary release
run: |
yarn canary
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/continuous-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
cache: yarn

- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn

- name: Build packages
run: yarn build:packages
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
node-version: lts/*

- name: Install dependencies
run: yarn || yarn
run: yarn || yarn || yarn

- name: Build website fast
run: yarn build:website:fast
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint-autofix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
ref: ${{ github.head_ref }}

- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn

- name: AutoFix Format
run: yarn format
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/showcase-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ jobs:
node-version: lts/*
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn
- name: Test
run: yarn test website/src/data/__tests__/user.test.ts
8 changes: 4 additions & 4 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ jobs:
node-version: ${{ matrix.node }}
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn
- name: Generate test-website project against main branch
run: yarn test:build:website -s
- name: Install test-website project with Yarn v1
run: yarn || yarn
run: yarn || yarn || yarn
working-directory: ../test-website
env:
npm_config_registry: http://localhost:4873
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
node-version: lts/*
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn
- name: Generate test-website project against main branch
run: yarn test:build:website -s
- name: Install test-website project with npm
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
node-version: lts/*
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn
- name: Generate test-website project against main branch
run: yarn test:build:website -s
- name: Install test-website project with pnpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-swizzle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
node-version: lts/*
cache: yarn
- name: Installation
run: yarn || yarn
run: yarn || yarn || yarn

# Swizzle all the theme components
- name: Swizzle (${{matrix.action}} - ${{matrix.variant}})
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
node-version: ${{ matrix.node }}
- name: Installation
run: yarn || yarn || yarn # 3 attempts to avoid timeout errors...
run: yarn || yarn || yarn
- name: Docusaurus Jest Tests
run: yarn test
- name: Create a deep path
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
node-version: ${{ matrix.node }}
cache: yarn
- name: Installation
run: yarn || yarn || yarn # 3 attempts to avoid timeout errors...
run: yarn || yarn || yarn
- name: Test
run: yarn test
- name: Remove Theme Internal Re-export
Expand Down

0 comments on commit 1d216ac

Please sign in to comment.