@@ -43,11 +43,11 @@ jobs:
4343 steps :
4444 # https://github.com/actions/checkout
4545 - name : Checkout codebase
46- uses : actions/checkout@v3
46+ uses : actions/checkout@v4
4747
4848 # https://github.com/actions/setup-node
4949 - name : Install Node.js ${{ matrix.node-version }}
50- uses : actions/setup-node@v3
50+ uses : actions/setup-node@v4
5151 with :
5252 node-version : ${{ matrix.node-version }}
5353
@@ -118,7 +118,7 @@ jobs:
118118 # https://github.com/cypress-io/github-action
119119 # (NOTE: to run these e2e tests locally, just use 'ng e2e')
120120 - name : Run e2e tests (integration tests)
121- uses : cypress-io/github-action@v5
121+ uses : cypress-io/github-action@v6
122122 with :
123123 # Run tests in Chrome, headless mode (default)
124124 browser : chrome
@@ -191,7 +191,7 @@ jobs:
191191 runs-on : ubuntu-latest
192192 steps :
193193 - name : Checkout
194- uses : actions/checkout@v3
194+ uses : actions/checkout@v4
195195
196196 # Download artifacts from previous 'tests' job
197197 - name : Download coverage artifacts
@@ -203,10 +203,14 @@ jobs:
203203 # Retry action: https://github.com/marketplace/actions/retry-action
204204 # Codecov action: https://github.com/codecov/codecov-action
205205 - name : Upload coverage to Codecov.io
206- uses : Wandalen/wretry.action@v1.0.36
206+ uses : Wandalen/wretry.action@v1.3.0
207207 with :
208208 action : codecov/codecov-action@v3
209- # Try upload 5 times max
209+ # Ensure codecov-action throws an error when it fails to upload
210+ # This allows us to auto-restart the action if an error is thrown
211+ with : |
212+ fail_ci_if_error: true
213+ # Try re-running action 5 times max
210214 attempt_limit : 5
211215 # Run again in 30 seconds
212216 attempt_delay : 30000
0 commit comments