name: cdk test

defaults:
  run:
    working-directory: notificationworkerlambda/cdk

on:
  pull_request:
    branches:
      - master
    paths:
      - "notificationworkerlambda/cdk/**"

jobs:
  cdk-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - uses: actions/setup-node@v3
        with:
          node-version: "16"
          cache: "yarn"

      - name: Install
        run: yarn install --frozen-lockfile

      - name: Test
        run: yarn test

name: cdk test

defaults:
  run:
    working-directory: notificationworkerlambda/cdk

on:
  pull_request:
    branches:
      - master
    paths:
      - "notificationworkerlambda/cdk/**"

jobs:
  cdk-test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - uses: actions/setup-node@v3
        with:
          node-version: "16"
          cache: "yarn"
          cache-dependency-path: notificationworkerlambda/cdk/yarn.lock

      - name: Install
        run: yarn install --frozen-lockfile

      - name: Test
        run: yarn test

Add cache dependency path for cdk
Add cache dependency path for cdk
