Skip to content

Commit 17eb14f

Browse files
authored
fix: The minimum supported node version we'll be testing with now is v20 (#314)
BREAKING CHANGE: The minimum version for node.js is now 20. AWS no longer supports 14 and it has been removed and all tests are now using v20.
1 parent 50537bb commit 17eb14f

File tree

8 files changed

+94
-283
lines changed

8 files changed

+94
-283
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
runs-on: ubuntu-20.04
2222
strategy:
2323
matrix:
24-
node: [14, 16, 18]
24+
node: [20, 22]
2525

2626
steps:
2727
- uses: actions/checkout@v3
@@ -91,7 +91,7 @@ jobs:
9191
uses: actions/setup-node@v1
9292
with:
9393
# NOTE: in v13.0, serverless-offline removed support for node v14: https://github.com/dherault/serverless-offline/releases/tag/v13.0.0
94-
node-version: 18
94+
node-version: 20
9595

9696
- name: build plugin locally
9797
run: |
@@ -168,7 +168,7 @@ jobs:
168168
- name: Use Node.js
169169
uses: actions/setup-node@v1
170170
with:
171-
node-version: 14
171+
node-version: 20
172172

173173
#- name: debug publish_package
174174
# uses: actions/bin/debug@master

.github/workflows/debug-workflow.yml

Lines changed: 0 additions & 42 deletions
This file was deleted.

examples/basic/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ custom:
1717

1818
provider:
1919
name: aws
20-
runtime: nodejs14.x
20+
runtime: nodejs20.x
2121
lambdaHashingVersion: 20201221
2222

2323
functions:

examples/serverless-offline/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ custom:
1818

1919
provider:
2020
name: aws
21-
runtime: nodejs14.x
21+
runtime: nodejs20.x
2222
lambdaHashingVersion: 20201221
2323

2424
functions:

0 commit comments

Comments
 (0)