From 6f9e5502f52c219cededa1edee6afa5bd9066ca9 Mon Sep 17 00:00:00 2001 From: jsetton Date: Sat, 23 Nov 2024 23:36:10 -0500 Subject: [PATCH] Add nodejs 22.x support Signed-off-by: jsetton --- .github/workflows/ci.yml | 2 +- .github/workflows/deployment.yml | 2 +- .github/workflows/localization.yml | 2 +- ask-resources.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 58726834..e9d176e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: strategy: matrix: - node-version: [18.x, 20.x] + node-version: [20.x, 22.x] steps: - name: Checkout repository diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 46d3f1d3..a2c6e02a 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -34,7 +34,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x cache: npm cache-dependency-path: lambda/package-lock.json diff --git a/.github/workflows/localization.yml b/.github/workflows/localization.yml index 1c316656..3ccfde84 100644 --- a/.github/workflows/localization.yml +++ b/.github/workflows/localization.yml @@ -23,7 +23,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v4 with: - node-version: 20.x + node-version: 22.x - name: Update skill locale run: node .github/scripts/updateSkillLocale.js diff --git a/ask-resources.json b/ask-resources.json index 1be14ddd..eeafb7e4 100644 --- a/ask-resources.json +++ b/ask-resources.json @@ -14,7 +14,7 @@ "type": "@ask-cli/cfn-deployer", "userConfig": { "awsRegion": "us-east-1", - "runtime": "nodejs20.x", + "runtime": "nodejs22.x", "handler": "index.handler", "templatePath": "./infrastructure/cfn-deployer/skill-stack.json", "cfn": {