Skip to content

Commit 9e632e9

Browse files
committed
update to node 22
1 parent d97046c commit 9e632e9

File tree

5 files changed

+53
-8
lines changed

5 files changed

+53
-8
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
1313
- uses: actions/setup-node@v4
1414
with:
15-
node-version: 20
15+
node-version: 22
1616
cache: npm
1717
- run: npm ci
1818
- uses: aws-actions/setup-sam@v2

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- uses: actions/setup-node@v4
1616
with:
1717
cache: npm
18-
node-version: 20
18+
node-version: 22
1919
- run: npm ci
2020
- run: npm test

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:20-slim
1+
FROM node:22-slim
22
WORKDIR /usr/src/app
33
COPY package.json package-lock.json ./
44
RUN npm ci --production

package-lock.json

Lines changed: 49 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Resources:
2121
Description: Basic Auth Funtion
2222
CodeUri: .
2323
Handler: handler.webhooks
24-
Runtime: nodejs20.x
24+
Runtime: nodejs22.x
2525
MemorySize: 256
2626
Timeout: 20
2727
Events:

0 commit comments

Comments
 (0)