Target same Node.js versions as AVA 6

This commit is contained in:
Mark Wubben 2024-05-05 22:04:49 +02:00
parent c3d1833f20
commit bfd7dfaa87
2 changed files with 2 additions and 5 deletions

View file

@ -13,16 +13,13 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [^14.19, ^16.15, ^18, ^20, ^21]
node-version: [^18.18, ^20.8, ^21]
os: [ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- 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 test
- uses: codecov/codecov-action@v2

View file

@ -3,7 +3,7 @@
"version": "4.1.0",
"description": "TypeScript provider for AVA",
"engines": {
"node": "^14.19 || ^16.15 || ^18 || ^20 || ^21"
"node": "^18.18 || ^20.8 || ^21"
},
"files": [
"index.js"