File tree 3 files changed +18
-3
lines changed
3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 75
75
run : npm run test:init
76
76
if : ' ${{ !steps.release-check.outputs.IS_RELEASE }}'
77
77
- name : Tests
78
+ uses : nick-fields/retry@v2
78
79
if : ' ${{ !steps.release-check.outputs.IS_RELEASE }}'
79
- run : npm run test:ci:vitest:integration -- --shard=${{ matrix.shard }} ${{ steps.changed.outputs.value }}
80
+ with :
81
+ timeout_minutes : 15
82
+ max_attempts : 3
83
+ retry_on : error
84
+ command : npm run test:ci:vitest:integration -- --shard=${{ matrix.shard }} ${{ steps.changed.outputs.value }}
80
85
env :
81
86
# GitHub secrets are not available when running on PR from forks
82
87
# We set a flag so we can skip tests that access Netlify API
Original file line number Diff line number Diff line change 75
75
run : npm run test:init
76
76
if : ' ${{ !steps.release-check.outputs.IS_RELEASE }}'
77
77
- name : Tests
78
- run : ${{ steps.testCommand.outputs.value }}
78
+ uses : nick-fields/retry@v2
79
+ with :
80
+ timeout_minutes : 15
81
+ max_attempts : 3
82
+ retry_on : error
83
+ command : ${{ steps.testCommand.outputs.value }}
79
84
env :
80
85
# GitHub secrets are not available when running on PR from forks
81
86
# We set a flag so we can skip tests that access Netlify API
Original file line number Diff line number Diff line change 44
44
run : npm run format:ci
45
45
if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
46
46
- name : Run unit tests
47
- run : npm run test:ci:vitest:unit
47
+ uses : nick-fields/retry@v2
48
+ with :
49
+ timeout_minutes : 15
50
+ max_attempts : 3
51
+ retry_on : error
52
+ command : npm run test:ci:vitest:unit
48
53
if : ' ${{!steps.release-check.outputs.IS_RELEASE}}'
You can’t perform that action at this time.
0 commit comments