Skip to content
Merged
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Use Node 18
- name: Use Node 22
uses: actions/setup-node@v6
with:
node-version: '18'
node-version: '22'
# Comment the next line out
# if the repo uses Github Package Registry packages
# registry-url: 'https://npm.pkg.github.com'
Expand Down Expand Up @@ -43,10 +43,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v6

- name: Use Node 18
- name: Use Node 22
uses: actions/setup-node@v6
with:
node-version: '18'
node-version: '22'
# Comment the next line out
# if the repo uses Github Package Registry packages
# registry-url: 'https://npm.pkg.github.com'
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12.18.4
22
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"author": "Adam Clark",
"license": "MIT",
"repository": "https://github.com/comicrelief/serverless-starter-app",
"engines": {
"node": "22"
},
"scripts": {
"lint": "eslint .",
"concourse:deploy-pipeline": "fly -t cr-cicd-engineering set-pipeline -p serverless-starter-app -c concourse/pipeline.yml -l concourse/private.yml",
Expand All @@ -22,17 +25,17 @@
"@comicrelief/eslint-config": "^2.0.3",
"@types/chalk": "^2.2.0",
"@types/jest": "^29.5.1",
"@types/node": "^18.15.12",
"@types/node": "^22.19.11",
"@typescript-eslint/eslint-plugin": "^5.59.0",
"@typescript-eslint/parser": "^5.59.0",
"dotenv": "^8.2.0",
"eslint": "^8.38.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^43.0.6",
"jest": "^29.5.0",
"osls": "^3.62.1",
"prettier": "^2.1.1",
"serverless": "^3.36.0",
"serverless-offline": "^13.2.0",
"serverless-offline": "^14.5.0",
"serverless-plugin-typescript": "^2.1.5",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
Expand All @@ -42,5 +45,8 @@
"dependencies": {
"@comicrelief/lambda-wrapper": "^2.0.0-beta.3",
"axios": "^1.3.6"
},
"resolutions": {
"@types/minimatch": "5.1.2"
}
}
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ useDotenv: true

provider:
name: aws
runtime: nodejs18.x
runtime: nodejs22.x
memorySize: 128
timeout: 60
region: eu-west-1
Expand Down
Loading
Loading