Skip to content

Commit bd450e7

Browse files
authored
chore: Update to Node.js 22 (#37)
1 parent 8809a53 commit bd450e7

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.github/workflows/master.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node-version: ['18']
16+
node-version: ['22']
1717
region: [eu-west-1, us-east-1, us-west-2]
1818
env:
1919
LOG_LEVEL: info # debug | info | notice | warning | error

.github/workflows/sandbox.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
node-version: ['18']
16+
node-version: ['22']
1717
#region: [eu-west-1, us-east-1, us-west-2]
1818
region: [eu-west-1]
1919
env:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"test": "echo \"Error: no test specified\" && exit 1"
99
},
1010
"engines": {
11-
"node": ">=18.18.0",
12-
"npm": ">=9.8.1"
11+
"node": ">=22.0.0",
12+
"npm": ">=10.0.0"
1313
},
1414
"dependencies": {
1515
"@gomomento/sdk": "^1.41.2",

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins:
88

99
provider:
1010
name: aws
11-
runtime: nodejs20.x
11+
runtime: nodejs22.x
1212
region: eu-west-1 #eu-west-1, us-east-1, us-west-2
1313
stage: dev
1414
memorySize: 260

0 commit comments

Comments
 (0)