Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions amplify.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,12 @@
version: 1
backend:
phases:
preBuild:
commands:
- nvm install 20
- nvm use 20
build:
commands:
- npm ci --cache .npm --prefer-offline
- npm install -g ampx
- node -v
- npx ampx pipeline-deploy --branch $AWS_BRANCH --app-id $AWS_APP_ID

frontend:
phases:
preBuild:
commands:
- nvm use 20
- npm ci

build:
commands:
- npm run build
Expand All @@ -30,4 +18,4 @@ frontend:
paths:
- .next/cache/**/*
- .npm/**/*
- node_modules/**/*
- node_modules/**/*