Skip to content

Commit 41bd671

Browse files
committed
Don't run ci tests with old node version (dev deps does not support) but allow node 6 via package.json)
1 parent b3ad7c9 commit 41bd671

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,14 @@ on:
1111
jobs:
1212
build:
1313
runs-on: ubuntu-latest
14-
strategy:
15-
matrix:
16-
node-version: [6, 14, 22]
1714

1815
steps:
1916
- uses: actions/checkout@v4
2017

21-
- name: Setup Node.js ${{ matrix.node-version }}
18+
- name: Setup Node.js
2219
uses: actions/setup-node@v4
2320
with:
24-
node-version: ${{ matrix.node-version }}
21+
node-version: 22
2522
cache: 'npm'
2623

2724
- name: Install dependencies
@@ -35,6 +32,5 @@ jobs:
3532
with:
3633
token: ${{ secrets.CODECOV_TOKEN }}
3734
files: ./coverage/coverage-final.json
38-
flags: node-${{ matrix.node-version }}
3935
name: codecov-umbrella
4036
fail_ci_if_error: true

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"require": "./dist/list.cjs.js"
4848
},
4949
"engines": {
50-
"node": "^22.14.0"
50+
"node": ">=6.0.0"
5151
},
5252
"scripts": {
5353
"test": "npm run lint && npm run test:unit",

0 commit comments

Comments
 (0)