Skip to content

Commit

Permalink
Jump to Node 18
Browse files Browse the repository at this point in the history
Force Serverless >=3.25.0 because the node 18 engine was added in 3.25.0.
  • Loading branch information
j0k3r committed Jul 12, 2023
1 parent fd61eac commit 4ef4471
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@babel/preset-env",
{
"targets": {
"node": "16"
"node": "18"
}
}
]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [18.x]

steps:
- name: checkout
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ Available lambdas:

## Prerequisites

- Node.js 14
- Serverless CLI v3.16.0 or later (`npm install -g serverless@3`)
- Node.js 18
- Serverless CLI v3.25.0 or later (`npm install -g serverless@3`)
- An AWS account
- Defined [provider credentials](https://serverless.com/framework/docs/providers/aws/guide/credentials/)

Expand Down
4 changes: 2 additions & 2 deletions serverless.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
frameworkVersion: ">=3.17.0"
frameworkVersion: ">=3.25.0"

service: wallabag-serverless-bot

Expand All @@ -15,7 +15,7 @@ custom:

provider:
name: aws
runtime: nodejs16.x
runtime: nodejs18.x
profile: default
region: ${opt:region, 'eu-west-1'}
versionFunctions: false
Expand Down

0 comments on commit 4ef4471

Please sign in to comment.