version: 1
frontend:
phases:
preBuild:
commands:
- git config --global credential.helper '!aws codecommit credential-helper [email protected]'
- git config --global credential.UseHttpPath true
- yarn install
build:
commands:
- yarn run build
artifacts:
baseDirectory: build
files:
- '**/*'
cache:
paths:
- node_modules/**/*