Skip to content

Commit e20aa73

Browse files
committed
chore: update Node.js version requirements in package.json and GitHub workflows
- Specify Node.js engine version as >=18 in package.json to ensure compatibility - Remove Node.js 16.x from the GitHub workflow matrix, supporting only 18.x and 20.x versions for improved performance
1 parent c70841e commit e20aa73

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/node.js.yml

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

1717
strategy:
1818
matrix:
19-
node-version: [16.x, 18.x, 20.x]
19+
node-version: [18.x, 20.x]
2020

2121
steps:
2222
- name: Checkout

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.0.0",
44
"description": "Node backend for notebot",
55
"main": "server.js",
6+
"engines": {
7+
"node": ">=18"
8+
},
69
"scripts": {
710
"test": "echo \"Error: no test specified\" && exit 1",
811
"start": "node src/server.js",

0 commit comments

Comments
 (0)