version: 2.1
jobs:
  test:
    docker:
      - image: cimg/node:20.12
    steps:
      - checkout
      - run: cd app/api && npm ci && npm test
workflows:
  version: 2
  build_and_test:
    jobs:
      - test
