Skip to content

Commit ae86dfa

Browse files
chore: homogenize CI workflow with Vue stack
- Rename job build -> test (aligned with Vue) - npm i -> npm install (aligned with Vue) - Upload coverage to Codecov only on node 22.x to avoid duplicate reports (fixes Vue's broken lts/* condition which never matched explicit versions)
1 parent f2f2046 commit ae86dfa

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/CI.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [master]
88

99
jobs:
10-
build:
10+
test:
1111
runs-on: ubuntu-latest
1212

1313
strategy:
@@ -28,10 +28,11 @@ jobs:
2828
mongodb-version: ${{ matrix.mongodb-version }}
2929
- name: Run tests
3030
run: |
31-
npm i
31+
npm install
3232
npm run lint
3333
npm run test:coverage
3434
- name: Upload coverage reports to Codecov
35+
if: matrix.node-version == '22.x'
3536
uses: codecov/codecov-action@v5
3637
with:
3738
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)