Target same Node.js versions as AVA 6
This commit is contained in:
parent
c3d1833f20
commit
bfd7dfaa87
2 changed files with 2 additions and 5 deletions
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue