amplify.yml
version: 1
applications:
-
backend:
phases:
build:
commands: ['nvm use 18', 'npm i --no-frozen-lockfile', 'npx amplify pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID']
frontend:
phases:
preBuild:
commands: ['npx pnpm install']
build:
commands: ['npx turbo run build --filter=webapp']
artifacts:
baseDirectory: apps/webapp/.next
files:
- '**/*'
cache:
paths:
- 'node_modules/**/*'
buildPath: /
appRoot: apps/webapp
what am I doing wrong?