@@ -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@v6
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@v6
5151 with :
5252 node-version : ${{ matrix.node-version }}
5353
7272 id : yarn-cache-dir-path
7373 run : echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
7474 - name : Cache Yarn dependencies
75- uses : actions/cache@v3
75+ uses : actions/cache@v5
7676 with :
7777 # Cache entire Yarn cache directory (see previous step)
7878 path : ${{ steps.yarn-cache-dir-path.outputs.dir }}
9999 # so that it can be shared with the 'codecov' job (see below)
100100 # NOTE: Angular CLI only supports code coverage for specs. See https://github.com/angular/angular-cli/issues/6286
101101 - name : Upload code coverage report to Artifact
102- uses : actions/upload-artifact@v3
102+ uses : actions/upload-artifact@v7
103103 if : matrix.node-version == '18.x'
104104 with :
105105 name : dspace-angular coverage report
@@ -133,19 +133,19 @@ jobs:
133133 # Cypress always creates a video of all e2e tests (whether they succeeded or failed)
134134 # Save those in an Artifact
135135 - name : Upload e2e test videos to Artifacts
136- uses : actions/upload-artifact@v3
136+ uses : actions/upload-artifact@v7
137137 if : always()
138138 with :
139- name : e2e-test-videos
139+ name : e2e-test-videos-node-${{ matrix.node-version }}
140140 path : cypress/videos
141141
142142 # If e2e tests fail, Cypress creates a screenshot of what happened
143143 # Save those in an Artifact
144144 - name : Upload e2e test failure screenshots to Artifacts
145- uses : actions/upload-artifact@v3
145+ uses : actions/upload-artifact@v7
146146 if : failure()
147147 with :
148- name : e2e-test-screenshots
148+ name : e2e-test-screenshots-node-${{ matrix.node-version }}
149149 path : cypress/screenshots
150150
151151 - name : Stop app (in case it stays up after e2e tests)
@@ -191,11 +191,14 @@ jobs:
191191 runs-on : ubuntu-latest
192192 steps :
193193 - name : Checkout
194- uses : actions/checkout@v3
194+ uses : actions/checkout@v6
195195
196196 # Download artifacts from previous 'tests' job
197197 - name : Download coverage artifacts
198- uses : actions/download-artifact@v3
198+ uses : actions/download-artifact@v8
199+ with :
200+ name : dspace-angular coverage report
201+ path : coverage
199202
200203 # Now attempt upload to Codecov using its action.
201204 # NOTE: We use a retry action to retry the Codecov upload if it fails the first time.
0 commit comments