Skip to content

Commit

Permalink
Merge pull request #8 from makenew/node-18
Browse files Browse the repository at this point in the history
Update to Node v18
  • Loading branch information
razor-x authored Nov 29, 2022
2 parents 6b40bed + 04f929e commit 4a3e8b1
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG VARIANT="16"
ARG VARIANT="18"

FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:${VARIANT}

Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"build": {
"dockerfile": "Dockerfile",
"args": {
"VARIANT": "16"
"VARIANT": "18"
}
},
"extensions": [
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inputs:
node_version:
description: The Node.js version.
required: false
default: '16'
default: '18'
registry_url:
description: The Node.js package registry URL.
required: false
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"report": " c8 report"
},
"engines": {
"node": ">=16.13.0",
"node": ">=18.12.0",
"npm": ">= 8.1.0"
},
"devDependencies": {
Expand All @@ -63,6 +63,6 @@
"eslint-plugin-promise": "^6.0.0",
"npm-run-all": "^4.1.2",
"prettier": "^2.3.0",
"serverless": "^3.17.0"
"serverless": "^3.25.1"
}
}
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
service: serverless-nodejs

frameworkVersion: '^3.17.0'
frameworkVersion: '^3.25.1'

configValidationMode: error

provider:
name: aws
deploymentMethod: direct
architecture: arm64
runtime: nodejs16.x
runtime: nodejs18.x
region: ${env:AWS_DEFAULT_REGION, 'us-east-1'}
stage: stg
logRetentionInDays: 30
Expand Down

0 comments on commit 4a3e8b1

Please sign in to comment.