version: 2.1
jobs:
  build:
    docker:
      - image: cimg/node:18.20
    steps:
      - checkout
      - run: cd app/api && npm ci && node -e "console.log('ok')"

workflows:
  build_and_test:
    jobs: [build]
