From ab5fed5be6f80d05ef8a344a28da04b106cc05b7 Mon Sep 17 00:00:00 2001 From: Thomas Roos Date: Thu, 27 Jul 2023 11:12:45 +0200 Subject: [PATCH] GitHub workflow: fix test --- .github/workflows/test-cdk.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test-cdk.yml b/.github/workflows/test-cdk.yml index 9c86f7b..2dd5dbb 100644 --- a/.github/workflows/test-cdk.yml +++ b/.github/workflows/test-cdk.yml @@ -10,13 +10,14 @@ jobs: Run-Demos-Pipeline-Tests: runs-on: ubuntu-latest - defaults: - run: - working-directory: demos-pipeline - strategy: matrix: node-version: [16.x, 18.x, 20.x] + dir: ['demos-pipeline/lib', 'demos-pipeline/example'] + + defaults: + run: + working-directory: ${{ matrix.dir }} steps: - name: Check out repository code @@ -27,6 +28,5 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm ci - run: npm run check - - run: npm run zip-data - run: npm run build --if-present - run: npm test