Skip to content

Commit

Permalink
Removing retries from the CI (#2023)
Browse files Browse the repository at this point in the history
Partially reverts #1678
  • Loading branch information
RobinTail committed Sep 8, 2024
1 parent d664968 commit 975e379
Showing 1 changed file with 5 additions and 30 deletions.
35 changes: 5 additions & 30 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,7 @@ jobs:
path: ${{ steps.yarnCache.outputs.dir }}
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ matrix.node-version }}-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
on_retry_command: yarn config set registry https://registry.npmjs.org
command: yarn install
run: yarn install
- name: Lint
run: yarn lint
- name: Test
Expand All @@ -56,33 +51,13 @@ jobs:
- name: Build
run: yarn build
- name: CJS test
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
on_retry_command: yarn config set registry https://registry.npmjs.org
command: yarn test:cjs
run: yarn test:cjs
- name: ESM test
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
on_retry_command: yarn config set registry https://registry.npmjs.org
command: yarn test:esm
run: yarn test:esm
- name: Compatibility test
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
on_retry_command: yarn config set registry https://registry.npmjs.org
command: yarn test:compat
run: yarn test:compat
- name: Issue 952 # see https://github.com/RobinTail/express-zod-api/issues/952
uses: nick-fields/retry@v3
with:
timeout_seconds: 15
max_attempts: 3
on_retry_command: yarn config set registry https://registry.npmjs.org
command: yarn test:952
run: yarn test:952
finish:
needs: build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 975e379

Please sign in to comment.