diff --git a/lib/utils/constants.js b/lib/utils/constants.js index bc5a451b..2d613745 100644 --- a/lib/utils/constants.js +++ b/lib/utils/constants.js @@ -40,7 +40,7 @@ module.exports.HOSTED_SKILL = { 'eu-west-1': 'EU_WEST_1' }, DEFAULT_RUNTIME: { - NodeJS: 'NODE_12_X', + NodeJS: 'NODE_16_X', Python: 'PYTHON_3_7', }, SIGNIN_PATH: '/ap/signin', @@ -508,4 +508,4 @@ module.exports.RUNTIME = { JAVA: 'java' }; -module.exports.GIT_USAGE_HOSTED_SKILL_DOCUMENTATION = 'https://developer.amazon.com/en-US/docs/alexa/hosted-skills/alexa-hosted-skills-ask-cli.html'; \ No newline at end of file +module.exports.GIT_USAGE_HOSTED_SKILL_DOCUMENTATION = 'https://developer.amazon.com/en-US/docs/alexa/hosted-skills/alexa-hosted-skills-ask-cli.html'; diff --git a/test/integration/fixtures/skill-manifest.json b/test/integration/fixtures/skill-manifest.json index e02e771d..f1e99f0c 100644 --- a/test/integration/fixtures/skill-manifest.json +++ b/test/integration/fixtures/skill-manifest.json @@ -15,7 +15,7 @@ }, "hosting":{ "alexaHosted":{ - "runtime":"NODE_12_X" + "runtime":"NODE_16_X" } } } diff --git a/test/unit/clients/smapi-client-test/resources/alexa-hosted.js b/test/unit/clients/smapi-client-test/resources/alexa-hosted.js index aa508679..10ee83c0 100644 --- a/test/unit/clients/smapi-client-test/resources/alexa-hosted.js +++ b/test/unit/clients/smapi-client-test/resources/alexa-hosted.js @@ -16,7 +16,7 @@ module.exports = (smapiClient) => { const TEST_PROFILE = 'testProfile'; const TEST_ACCESS_TOKEN = 'access_token'; const TEST_RUNTIME_FIELD = 'NodeJS'; - const TEST_RUNTIME_VALUE = 'NODE_12_X'; + const TEST_RUNTIME_VALUE = 'NODE_16_X'; const TEST_REGION_VALUE = 'US_EAST_1'; const TEST_MANIFEST = { runtime: TEST_RUNTIME_FIELD,