From 636ef7f07c59d36f940f47e054a1c1548f54d78d Mon Sep 17 00:00:00 2001 From: Mikolaj Czajkowski Date: Fri, 12 Jun 2020 15:22:55 +0200 Subject: [PATCH 1/2] install typescript before aws-cdk installation --- entrypoint.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index d2554f8..0bc65ae 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -10,6 +10,10 @@ function parseInputs(){ fi } +function installTypescript(){ + npm install -g typescript +} + function installAwsCdk(){ echo "Install aws-cdk ${INPUT_CDK_VERSION}" if [ "${INPUT_CDK_VERSION}" == "latest" ]; then @@ -75,6 +79,7 @@ ${output} function main(){ parseInputs cd ${GITHUB_WORKSPACE}/${INPUT_WORKING_DIR} + installTypescript installAwsCdk installPipRequirements runCdk From 687992944ba52a6858f79d10cecc9ef9a864bd97 Mon Sep 17 00:00:00 2001 From: Mikolaj Czajkowski Date: Fri, 12 Jun 2020 15:27:52 +0200 Subject: [PATCH 2/2] try to install TS locally --- entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 0bc65ae..0e7087d 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,7 +11,7 @@ function parseInputs(){ } function installTypescript(){ - npm install -g typescript + npm install typescript } function installAwsCdk(){