From dc7de70aec747bbd6c7184d87375eecc5676d77c Mon Sep 17 00:00:00 2001 From: Till Rohrmann Date: Mon, 15 Jan 2024 11:54:58 +0100 Subject: [PATCH] Run test for CDK examples unconditionally This fixes #66. --- .github/workflows/test.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4239164b..fea25b53 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,11 +47,12 @@ jobs: build-root-directory: kotlin/hello-world-lambda # CDK projects are a hybrid of TypeScript CDK stack + platform-specific handler code; the top-level npm CDK build - # is responsible for verifying the language-specific handler cod. They are also not a part of the TypeScript + # is responsible for verifying the language-specific handler code. They are also not a part of the TypeScript # examples workspace, so we test them separately here. - name: Test kotlin/hello-world-lambda-cdk - if: github.event.inputs.sdkTypescriptVersion != '' && github.event.inputs.sdkJavaVersion != '' - run: npm --prefix kotlin/hello-world-lambda-cdk run verify + run: | + npm --prefix kotlin/hello-world-lambda-cdk install + npm --prefix kotlin/hello-world-lambda-cdk run verify build-ts: # prevent from running on forks