diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index eb664ae..3e30673 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ { "name": "Node.js & TypeScript", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - "image": "mcr.microsoft.com/devcontainers/typescript-node:4-22-bookworm", + "image": "mcr.microsoft.com/devcontainers/typescript-node:24-bookworm", "features": { "ghcr.io/devcontainers/features/aws-cli:1": {}, "ghcr.io/audacioustux/devcontainers/aws-sam-cli:1": {} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e9af53e..640f584 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 - uses: actions/setup-node@v6 with: - node-version: 22 + node-version: 24 cache: npm - run: npm ci - uses: aws-actions/setup-sam@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4aaae4..ef44a94 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,6 +15,6 @@ jobs: - uses: actions/setup-node@v6 with: cache: npm - node-version: 22 + node-version: 24 - run: npm ci - run: npm test diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..5dabb89 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "sarif-viewer.connectToGithubCodeScanning": "off" +} \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 3c002e9..3fd8056 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:22-slim +FROM node:24-slim WORKDIR /usr/src/app COPY package.json package-lock.json ./ RUN npm ci --production diff --git a/template.yml b/template.yml index 540f1b3..4c8dc31 100644 --- a/template.yml +++ b/template.yml @@ -21,7 +21,7 @@ Resources: Description: Basic Auth Funtion CodeUri: . Handler: handler.webhooks - Runtime: nodejs22.x + Runtime: nodejs24.x MemorySize: 256 Timeout: 20 Events: