Skip to content

Commit c14aff8

Browse files
committed
Enable node 22 support
1 parent 4ce6669 commit c14aff8

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,17 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
node-version: [^14.19, ^16.15, ^18, ^20]
16+
node-version: [^14.19, ^16.15, ^18, ^20, ^22]
1717
os: [ubuntu-latest, windows-latest]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- uses: actions/setup-node@v3
2121
with:
2222
node-version: ${{ matrix.node-version }}
23+
- if: runner.os == 'Windows' && matrix.node-version == '^22'
24+
shell: bash
25+
run: |
26+
npm install -g npm
2327
- name: Install npm@8 for Node.js 14
2428
if: matrix.node-version == '^14.19'
2529
run: npm install --global npm@^8

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "4.1.0",
44
"description": "TypeScript provider for AVA",
55
"engines": {
6-
"node": "^14.19 || ^16.15 || ^18 || ^20"
6+
"node": "^14.19 || ^16.15 || ^18 || ^20 || ^22"
77
},
88
"files": [
99
"index.js"

0 commit comments

Comments
 (0)