File tree Expand file tree Collapse file tree 1 file changed +18
-6
lines changed
Expand file tree Collapse file tree 1 file changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -82,17 +82,29 @@ jobs:
8282 with :
8383 name : firewall-node-library-${{ github.sha }}
8484
85- - name : Run tests with current instrumentation
86- run : npm run test:ci
85+ - name : Run tests with current instrumentation (max 3 attempts)
8786 if : ${{ matrix.new-instrumentation == 'current' }}
87+ uses : nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
88+ with :
89+ timeout_minutes : 15
90+ max_attempts : 3
91+ command : npm run test:ci
8892
89- - name : Run tests with new instrumentation in CJS mode
90- run : npm run test:ci:new
93+ - name : Run tests with new instrumentation in CJS mode (max 3 attempts)
9194 if : ${{ matrix.new-instrumentation == 'new' && matrix.mode == 'cjs' }}
95+ uses : nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
96+ with :
97+ timeout_minutes : 15
98+ max_attempts : 3
99+ command : npm run test:ci:new
92100
93- - name : Run tests in ESM mode
94- run : npm run test:esm
101+ - name : Run tests in ESM mode (max 3 attempts)
95102 if : ${{ matrix.new-instrumentation == 'new' && matrix.mode == 'esm' }}
103+ uses : nick-fields/retry@14672906e672a08bd6eeb15720e9ed3ce869cdd4 # v2.9.0
104+ with :
105+ timeout_minutes : 15
106+ max_attempts : 3
107+ command : npm run test:esm
96108
97109 - name : " Upload coverage"
98110 uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5.5.2
You can’t perform that action at this time.
0 commit comments