version: 1
frontend:
  phases:
    preBuild:
      commands:
        - cd client
        - npm ci
    build:
      commands:
        - npm run build
  artifacts:
    baseDirectory: client/.amplify-hosting
    files:
      - '**/*'
  cache:
    paths:
      - client/node_modules/**/*
