Skip to content

Commit ebdb85b

Browse files
chore: simplify CI to LTS-only, drop matrix
- Node: explicit 22.x/24.x -> lts/* (auto-resolves, no manual updates needed) - MongoDB: keep 7.0 LTS, remove matrix (single version) - Drop matrix entirely since there is now a single combination - Codecov runs unconditionally (single job, no duplicate risk)
1 parent ae86dfa commit ebdb85b

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

.github/workflows/CI.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,23 @@ jobs:
1010
test:
1111
runs-on: ubuntu-latest
1212

13-
strategy:
14-
matrix:
15-
node-version: [22.x, 24.x]
16-
mongodb-version: ['7.0']
17-
1813
steps:
1914
- uses: actions/checkout@v4
20-
- name: Use Node.js ${{ matrix.node-version }}
15+
- name: Use Node.js LTS
2116
uses: actions/setup-node@v4
2217
with:
23-
node-version: ${{ matrix.node-version }}
18+
node-version: lts/*
2419
cache: 'npm'
25-
- name: Start Mongo ${{ matrix.mongodb-version }}
20+
- name: Start MongoDB LTS
2621
uses: supercharge/mongodb-github-action@1.12.1
2722
with:
28-
mongodb-version: ${{ matrix.mongodb-version }}
23+
mongodb-version: '7.0'
2924
- name: Run tests
3025
run: |
3126
npm install
3227
npm run lint
3328
npm run test:coverage
3429
- name: Upload coverage reports to Codecov
35-
if: matrix.node-version == '22.x'
3630
uses: codecov/codecov-action@v5
3731
with:
3832
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)