Skip to content

Commit ace97d5

Browse files
committed
Minimum Node Version
1 parent c24c776 commit ace97d5

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [14.x, 16.x, 18.x]
16+
node-version: [18.x, 20.x, 22.x]
1717

1818
steps:
1919
- uses: actions/checkout@v2

.github/workflows/node.js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node-version: [14.x, 16.x, 18.x]
16+
node-version: [18.x, 20.x, 22.x]
1717

1818
steps:
1919
- uses: actions/checkout@v2

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"module": "dist/index.js",
77
"types": "types/index.d.ts",
88
"type": "module",
9+
"engines": {
10+
"node": ">=18.0.0"
11+
},
912
"scripts": {
1013
"test": "vitest --typecheck",
1114
"lint": "eslint",

0 commit comments

Comments
 (0)