Skip to content

Commit

Permalink
ci: add nodejs18.x to test matrix; update examples to use 18.x
Browse files Browse the repository at this point in the history
  • Loading branch information
brettstack committed Jan 1, 2023
1 parent 75cfbff commit 0909ec4
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-on-push-to-mainline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x, 18.x]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -33,7 +33,7 @@ jobs:
run: npm run lint

- name: Release
if: github.event_name == 'push' && github.ref == 'refs/heads/mainline' && matrix.node-version == '14.x'
if: github.event_name == 'push' && github.ref == 'refs/heads/mainline' && matrix.node-version == '18.x'
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion examples/alb/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Resources:
CodeUri: ./src
Handler: lambda.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 30

AlbSecurityGroup:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-starter-api-gateway-v1/sam-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Resources:
CodeUri: ./dist
Handler: main.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 30
Events:
ProxyApiRoot:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Resources:
Properties:
CodeUri: ./dist
PackageType: Zip
Runtime: nodejs16.x
Runtime: nodejs18.x
Handler: lambda.handler
MemorySize: 1024
Timeout: 30
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-starter-api-gateway-v2/sam-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Resources:
CodeUri: ./dist
Handler: main.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 30
Events:
ProxyApiRoot:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-starter-hapi/sam-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Resources:
CodeUri: ./src
Handler: lambda.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 30
Events:
ProxyApiRoot:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-starter-koa/sam-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Resources:
CodeUri: ./src
Handler: lambda.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 30
Events:
ProxyApiRoot:
Expand Down
2 changes: 1 addition & 1 deletion examples/basic-starter-nestjs/serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins:

provider:
name: aws
runtime: nodejs16.x
Runtime: nodejs18.x

functions:
main:
Expand Down
2 changes: 1 addition & 1 deletion examples/custom-mapper-dynamodb/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Resources:
CodeUri: ./src
Handler: lambda.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 3
Events:
DynamoDB1:
Expand Down
2 changes: 1 addition & 1 deletion examples/dynamodb-stream/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Resources:
CodeUri: ./src
Handler: lambda.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 3
Events:
DynamoDB1:
Expand Down
2 changes: 1 addition & 1 deletion examples/lambda-edge/sam-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Resources:
CodeUri: ./dist
Handler: main.handler
MemorySize: 128
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 5
Role: !GetAtt ExpressLambdaRole.Arn
AutoPublishAlias: live
Expand Down
2 changes: 1 addition & 1 deletion examples/sails-example/sam-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Resources:
CodeUri: .
Handler: lambda.handler
MemorySize: 1024
Runtime: nodejs16.x
Runtime: nodejs18.x
Timeout: 30
Events:
ProxyApiRoot:
Expand Down

0 comments on commit 0909ec4

Please sign in to comment.