Skip to content

Commit

Permalink
Bump Node.js from 20 to 22
Browse files Browse the repository at this point in the history
  • Loading branch information
farski committed Dec 1, 2024
1 parent cbfeb7c commit 1148a18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 20.9.0 # Should match the AWS Lambda runtime being used
nodejs 22.11.0 # Should match the AWS Lambda runtime being used
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A collection of utilities that integrate with Slack",
"type": "module",
"engines": {
"node": ">= 20.0.0"
"node": ">= 22.0.0"
},
"repository": {
"type": "git",
Expand Down
7 changes: 3 additions & 4 deletions template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ Resources:
Description: node-slack-sdk NPM module
ContentUri: lib/node-slack-sdk
CompatibleRuntimes:
- nodejs18.x
- nodejs20.x
- nodejs22.x

# This is an _organization sink_ custom EventBridge event bus. It's intended
# to exist once within an AWS Organization (i.e., in a single region in a
Expand Down Expand Up @@ -104,7 +103,7 @@ Resources:
Layers:
- !Ref SlackSdkLambdaLayer
MemorySize: 128
Runtime: nodejs20.x
Runtime: nodejs22.x
Tags:
prx:meta:tagging-version: "2021-04-07"
prx:cloudformation:stack-name: !Ref AWS::StackName
Expand Down Expand Up @@ -252,7 +251,7 @@ Resources:
- !Ref SlackSdkLambdaLayer
MemorySize: 512
Role: !GetAtt DevopsAppRole.Arn
Runtime: nodejs20.x
Runtime: nodejs22.x
Tags:
prx:meta:tagging-version: "2021-04-07"
prx:cloudformation:stack-name: !Ref AWS::StackName
Expand Down

0 comments on commit 1148a18

Please sign in to comment.