Skip to content

Commit e36b6a6

Browse files
authored
save artifacts separately
1 parent dacd24d commit e36b6a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
- run: npm run build --if-present
2828
- run: npm test
2929
- name: Update Coverage Badge
30-
if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch)
30+
if: ${{ matrix.node-version == 20.x }}
3131
uses: we-cli/coverage-badge-action@main
3232
- uses: actions/upload-artifact@v4
3333
with:
34-
name: coverage-artifacts
34+
name: coverage-artifacts-${{ matrix.node-version }}
3535
path: coverage # or path/to/artifact

0 commit comments

Comments
 (0)