Skip to content

Commit 6192bd9

Browse files
committed
ci: update workflow
1 parent dc4db0c commit 6192bd9

1 file changed

Lines changed: 4 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
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

0 commit comments

Comments
 (0)