Skip to content

Commit 87b795d

Browse files
authored
add nodejs20.x (#744)
Signed-off-by: Olzhas Alexandrov <[email protected]>
1 parent 2b45e53 commit 87b795d

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ An ultra simple hello-world function has been written in each AWS supported runt
2323
- `nodejs14.x`
2424
- `nodejs16.x`
2525
- `nodejs18.x`
26+
- `nodejs20.x`
2627
- `python3.7`
2728
- `python3.8`
2829
- `python3.9`

manifest.json

+7
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@
2929
"path": "nodejs18x",
3030
"architectures": ["x86_64", "arm64"]
3131
},
32+
{
33+
"displayName": "nodejs20.x",
34+
"runtime": "nodejs20.x",
35+
"handler": "index.handler",
36+
"path": "nodejs20x",
37+
"architectures": ["x86_64", "arm64"]
38+
},
3239
{
3340
"displayName": "python3.7",
3441
"runtime": "python3.7",
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
DIR_NAME="./runtimes/$1"
2+
ARCH=$2
3+
4+
rm ${DIR_NAME}/code_${ARCH}.zip 2> /dev/null
5+
6+
zip -j ${DIR_NAME}/code_${ARCH}.zip ${DIR_NAME}/index.js
+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
exports.handler = () => {
2+
return {
3+
statusCode: 200
4+
};
5+
};

0 commit comments

Comments
 (0)