Skip to content

Commit

Permalink
Add nodejs 20.x support (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsetton authored Nov 26, 2023
1 parent d04b203 commit 93270d2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest

container:
image: public.ecr.aws/sam/build-nodejs18.x
image: public.ecr.aws/sam/build-nodejs20.x

steps:
- name: Checkout repository
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Implementation of the Google Assistant API for Alexa

# What's New in this release

* Supports Node.js 18.x
* Supports Node.js 20.x
* Supports for ASK CLI deployment all-in-one skill and CloudFormation stack with optional local building using docker
* Added support for device location converting Alexa skill device address to location coordinates using Google Maps Geocode API
* Added localized skill translations for all supported languages between the Google Assistant and Alexa API
Expand Down
2 changes: 1 addition & 1 deletion ask-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"type": "@ask-cli/cfn-deployer",
"userConfig": {
"awsRegion": "us-east-1",
"runtime": "nodejs18.x",
"runtime": "nodejs20.x",
"handler": "index.handler",
"templatePath": "./infrastructure/cfn-deployer/skill-stack.yml",
"cfn": {
Expand Down
2 changes: 1 addition & 1 deletion hooks/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ param(
#----------------[ Declarations ]----------------------------------------------------
$ErrorActionPreference = "Stop"
$ProgressPreference = "SilentlyContinue"
$DockerBuildImage = "public.ecr.aws/sam/build-nodejs18.x"
$DockerBuildImage = "public.ecr.aws/sam/build-nodejs20.x"
$LatestReleaseUrl = "https://github.com/jsetton/alexa-assistant/releases/latest/download/lambda.zip"

#----------------[ Functions ]----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion hooks/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
readonly OUT_FILE=${1:-"upload.zip"}
readonly DO_DEBUG=${2:-false}

readonly DOCKER_BUILD_IMAGE="public.ecr.aws/sam/build-nodejs18.x"
readonly DOCKER_BUILD_IMAGE="public.ecr.aws/sam/build-nodejs20.x"
readonly LATEST_RELEASE_URL="https://github.com/jsetton/alexa-assistant/releases/latest/download/lambda.zip"

main() {
Expand Down

0 comments on commit 93270d2

Please sign in to comment.