Skip to content

Commit dbf22dc

Browse files
authored
Sync supported Node versions w/ module template (#227)
- Bump support for Node 18.x to at least 18.20 - Limit support for Node 20.x to at least 20.17 - Add support for Node 22 and higher
1 parent 8bb2c5e commit dbf22dc

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
YARN_VERSION: ${{ steps.yarn-version.outputs.YARN_VERSION }}
1515
strategy:
1616
matrix:
17-
node-version: [18.x, 20.x]
17+
node-version: [18.x, 20.x, 22.x]
1818
steps:
1919
- uses: actions/checkout@v3
2020
- name: Use Node.js ${{ matrix.node-version }}
@@ -41,7 +41,7 @@ jobs:
4141
- prepare
4242
strategy:
4343
matrix:
44-
node-version: [18.x, 20.x]
44+
node-version: [18.x, 20.x, 22.x]
4545
steps:
4646
- uses: actions/checkout@v3
4747
- name: Use Node.js ${{ matrix.node-version }}
@@ -69,7 +69,7 @@ jobs:
6969
- prepare
7070
strategy:
7171
matrix:
72-
node-version: [18.x, 20.x]
72+
node-version: [18.x, 20.x, 22.x]
7373
steps:
7474
- uses: actions/checkout@v3
7575
- name: Use Node.js ${{ matrix.node-version }}
@@ -104,7 +104,7 @@ jobs:
104104
- prepare
105105
strategy:
106106
matrix:
107-
node-version: [18.x, 20.x]
107+
node-version: [18.x, 20.x, 22.x]
108108
steps:
109109
- uses: actions/checkout@v3
110110
- name: Use Node.js ${{ matrix.node-version }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
},
6464
"packageManager": "yarn@3.2.4",
6565
"engines": {
66-
"node": "^18.18 || >=20"
66+
"node": "^18.20 || ^20.17 || >=22"
6767
},
6868
"publishConfig": {
6969
"access": "public",

0 commit comments

Comments
 (0)