File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818 strategy :
1919 matrix :
20- node : ["22.x", "24 .x", "current "]
20+ node : ["22.x", "23 .x", "24.x "]
2121 os : [ubuntu-latest, windows-latest, macOS-latest]
2222
2323 steps :
@@ -47,22 +47,15 @@ jobs:
4747 - name : Test
4848 run : pnpm test:coverage
4949
50- - name : Cache Coverage
51- id : cache-coverage
52- uses : actions/cache@v5
53- with :
54- path : ./coverage
55- key : ${{ runner.os }}-coverage
56-
5750 - name : Upload coverage to Coveralls
58- if : steps.cache-coverage.outputs.cache-hit == 'true '
59- uses : coverallsapp/github-action@1.1.3
51+ if : matrix.os == 'ubuntu-latest' && matrix.node == '22.x '
52+ uses : coverallsapp/github-action@v2
6053 with :
6154 path-to-lcov : ./coverage/lcov.info
6255 github-token : ${{ secrets.GITHUB_TOKEN }}
6356
6457 - name : Upload coverage to Codecov
65- if : steps.cache-coverage.outputs.cache-hit == 'true '
58+ if : matrix.os == 'ubuntu-latest' && matrix.node == '22.x '
6659 uses : codecov/codecov-action@v4
6760 with :
6861 directory : ./coverage
You can’t perform that action at this time.
0 commit comments