File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ jobs:
185185 run : |
186186 if npm -ps ls nyc | grep -q nyc; then
187187 npm run test-ci
188- cp coverage/lcov.info "coverage/${{ matrix.name }}.lcov"
188+ cp coverage/lcov.info "coverage/${{ matrix.node-version }}.lcov"
189189 else
190190 npm test
191191 fi
@@ -198,17 +198,17 @@ jobs:
198198 if : steps.list_env.outputs.nyc != ''
199199 run : |
200200 if [[ -d ./coverage ]]; then
201- mv ./coverage "./${{ matrix.name }}"
201+ mv ./coverage "./${{ matrix.node-version }}"
202202 mkdir ./coverage
203- mv "./${{ matrix.name }}" "./coverage/${{ matrix.name }}"
203+ mv "./${{ matrix.node-version }}" "./coverage/${{ matrix.node-version }}"
204204 fi
205205
206206 - name : Upload code coverage
207- uses : actions/upload-artifact@v3
207+ uses : actions/upload-artifact@v4
208208 if : steps.list_env.outputs.nyc != ''
209209 with :
210- name : coverage
211- path : ./coverage
210+ name : coverage-${{ matrix.node-version }}
211+ path : " ./coverage/${{ matrix.node-version }} "
212212 retention-days : 1
213213
214214 coverage :
@@ -222,9 +222,8 @@ jobs:
222222 run : sudo apt-get -y install lcov
223223
224224 - name : Collect coverage reports
225- uses : actions/download-artifact@v3
225+ uses : actions/download-artifact@v4
226226 with :
227- name : coverage
228227 path : ./coverage
229228
230229 - name : Merge coverage reports
You can’t perform that action at this time.
0 commit comments