Skip to content

Commit 19ee187

Browse files
committed
fix: set minimum required node version
1 parent 596ae0a commit 19ee187

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.github/workflows/benchmarks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup Node.js
1313
uses: actions/setup-node@v2
1414
with:
15-
node-version: '14.x'
15+
node-version: '16.x'
1616

1717
- name: Install npm deps
1818
run: npm install

.github/workflows/test.yml

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

99
strategy:
1010
matrix:
11-
node-version: [12.x, 14.x, 16.x]
11+
node-version: [16.x]
1212

1313
steps:
1414
- uses: actions/checkout@v2

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
"description": "Serializes data to transfer fewer bytes over the network",
55
"main": "index.js",
66
"types": "index.d.ts",
7+
"engines": {
8+
"node": ">=16.0.0"
9+
},
710
"scripts": {
811
"test": "jest --coverage",
912
"bench": "node benchmarks/run.js"

0 commit comments

Comments
 (0)