Skip to content

Commit 63346be

Browse files
authored
feat!: remove Node 16 and 18 support (#410)
This is a breaking change
1 parent 25c37e4 commit 63346be

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
build:
1111
strategy:
1212
matrix:
13-
node-version: [16.x, 18.x, 20.x, 22.x, 24.x]
13+
node-version: [20.x, 22.x, 24.x]
1414
os: [ubuntu-latest, windows-latest]
1515
runs-on: ${{ matrix.os }}
1616
steps:

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: '18.x'
15+
node-version: '22.x'
1616
registry-url: 'https://registry.npmjs.org'
1717
- run: npm install -g npm
1818
- run: npm ci

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ path, allowing you to execute a single file as a function.
1414
| --------------- | ------------- |
1515
| License: | Apache-2.0 |
1616
| Issue tracker: | https://github.com/nodeshift/faas-js-runtime/issues |
17-
| Engines: | Node.js >= 16 |
17+
| Engines: | Node.js >= 20 |
1818

1919
The function is loaded and then invoked for incoming HTTP requests
2020
at `localhost:8080`. The incoming request may be a

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Red Hat, Inc.",
99
"license": "Apache-2.0",
1010
"engines": {
11-
"node": "^24 || ^22 || ^20 || ^18 || ^16"
11+
"node": "^24 || ^22 || ^20"
1212
},
1313
"type": "commonjs",
1414
"scripts": {

0 commit comments

Comments
 (0)