diff --git a/amplify.yml b/amplify.yml index 5978bc83..e69489b5 100644 --- a/amplify.yml +++ b/amplify.yml @@ -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 @@ -30,4 +18,4 @@ frontend: paths: - .next/cache/**/* - .npm/**/* - - node_modules/**/* + - node_modules/**/* \ No newline at end of file