Skip to content

Commit e59f414

Browse files
committed
use node 18
1 parent 52a4525 commit e59f414

File tree

5 files changed

+28
-28
lines changed

5 files changed

+28
-28
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@v3
1313
- uses: actions/setup-node@v3
1414
with:
15-
node-version: 14
15+
node-version: 18
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@v3
1616
with:
1717
cache: npm
18-
node-version: 14
18+
node-version: 18
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:18-slim
22
WORKDIR /usr/src/app
33
COPY package.json package-lock.json ./
44
RUN npm ci --production

package-lock.json

Lines changed: 24 additions & 24 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: nodejs14.x
24+
Runtime: nodejs18.x
2525
MemorySize: 256
2626
Timeout: 20
2727
Events:

0 commit comments

Comments
 (0)