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