Skip to content

Commit c51995d

Browse files
authored
Update run-tests.yml
1 parent 84a6d65 commit c51995d

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/run-tests.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
node-version: [22, 24]
16+
node-version: [20, 22, 24]
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121
with:
2222
fetch-depth: 1
2323

@@ -29,7 +29,8 @@ jobs:
2929
run: bun install
3030

3131
- name: Run the tests with coverage
32-
run: bun test --coverage-junit --coverage
32+
run: |
33+
bun test --coverage-junit --coverage --reporter-outfile=coverage.xml --reporter=junit
3334
3435
- name: Upload failed test results to Codecov
3536
if: ${{ !cancelled() }}
@@ -38,6 +39,9 @@ jobs:
3839
token: ${{ secrets.CODECOV_TOKEN }}
3940

4041
- name: Upload coverage to Codecov
41-
uses: codecov/codecov-action@v4
42+
uses: codecov/codecov-action@v5
4243
with:
4344
token: ${{ secrets.CODECOV_TOKEN }}
45+
files: coverage.xml
46+
report_type: coverage
47+
disable_telem: true

0 commit comments

Comments
 (0)