Skip to content

Commit

Permalink
Drop support for Node.js 14, update minimal requirements for 16, 18 a…
Browse files Browse the repository at this point in the history
…nd 20

Require the latest versions with new features.
  • Loading branch information
novemberborn committed Jun 21, 2023
1 parent 583b513 commit 8f1d308
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 978 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [^14.19, ^16.15, ^18, ^20]
node-version: [^16.18, ^18.16, ^20.3]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
Expand All @@ -28,9 +28,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
- name: Install npm@8 for Node.js 14
if: matrix.node-version == '^14.19'
run: npm install --global npm@^8
- run: npm install --no-audit
- run: npm run cover
- uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -33,7 +33,7 @@
},
"type": "module",
"engines": {
"node": ">=14.19 <15 || >=16.15 <17 || >=18"
"node": "^16.18 || ^18.16 || ^20.3"
},
"scripts": {
"cover": "c8 --report=none test-ava && c8 --report=none --no-clean tap && c8 report",
Expand Down Expand Up @@ -156,6 +156,6 @@
}
},
"volta": {
"node": "20.2.0"
"node": "20.3.1"
}
}
55 changes: 0 additions & 55 deletions test-tap/reporters/default.edgecases.v14.log

This file was deleted.

24 changes: 0 additions & 24 deletions test-tap/reporters/default.failfast.v14.log

This file was deleted.

24 changes: 0 additions & 24 deletions test-tap/reporters/default.failfast2.v14.log

This file was deleted.

10 changes: 0 additions & 10 deletions test-tap/reporters/default.only.v14.log

This file was deleted.

0 comments on commit 8f1d308

Please sign in to comment.