Skip to content

Commit

Permalink
feat: updating Alexa Hosted Skills runtime to Node.js 16
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Badsara committed Nov 2, 2022
1 parent 5fa9b7a commit d43f613
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/utils/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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';
module.exports.GIT_USAGE_HOSTED_SKILL_DOCUMENTATION = 'https://developer.amazon.com/en-US/docs/alexa/hosted-skills/alexa-hosted-skills-ask-cli.html';
2 changes: 1 addition & 1 deletion test/integration/fixtures/skill-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
},
"hosting":{
"alexaHosted":{
"runtime":"NODE_12_X"
"runtime":"NODE_16_X"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit d43f613

Please sign in to comment.