Skip to content

Commit

Permalink
set template.yml runtime to nodejs20.x
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanista committed Apr 10, 2024
1 parent cf90a27 commit f78e843
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build_serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Cache Node modules
id: cache-node-modules
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20

- name: Cache Node modules
id: cache-node-modules
Expand All @@ -82,7 +82,7 @@ jobs:

strategy:
matrix:
node-version: [16, 18, 20]
node-version: [18, 20]

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion serverless/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Resources:
Description: Processes a CloudFormation template to install Datadog Lambda layers for Python and Node.js Lambda functions.
Timeout: 10
Handler: src/index.handler
Runtime: nodejs16.x
Runtime: nodejs20.x
CodeUri:
Bucket: !Ref MacroFunctionZipsBucket
Key:
Expand Down

0 comments on commit f78e843

Please sign in to comment.