Skip to content

Commit

Permalink
Merge pull request #53 from CruGlobal/node18upgrade
Browse files Browse the repository at this point in the history
Upgrading to nodejs18.x runtime.
  • Loading branch information
jcwatson11 authored Oct 12, 2023
2 parents 5f77b65 + da093cf commit 0d8c925
Show file tree
Hide file tree
Showing 5 changed files with 1,319 additions and 159 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
node-version: '18'
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn test
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 16.14.2
nodejs 18.18.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"nock": "^13.2.4",
"nodemon": "^2.0.15",
"rollbar-sourcemap-webpack-plugin": "^3.3.0",
"serverless": "^3.12.0",
"serverless": "^3.35.2",
"serverless-offline": "^8.5.0",
"serverless-webpack": "^5.7.0",
"smee-client": "^1.2.2",
Expand Down
3 changes: 1 addition & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ plugins:

provider:
name: aws
runtime: nodejs18.x
stage: ${env:ENVIRONMENT}
region: us-east-1
vpc:
Expand All @@ -23,8 +24,6 @@ provider:
env: ${self:custom.environmentMap.${env:ENVIRONMENT}}
managed_by: serverless-framework
function: lambda
layers:
- arn:aws:lambda:us-east-1:072686360478:layer:node-16_14_2:1
environment: ${file(env.js)}

package:
Expand Down
Loading

0 comments on commit 0d8c925

Please sign in to comment.