From ef183ebc3e8d6c5d174fe4b2b6751db04316fb23 Mon Sep 17 00:00:00 2001 From: Stivenjs Date: Thu, 5 Jun 2025 10:39:51 -0500 Subject: [PATCH 1/2] chore(amplify): remove global ampx installation and Node version check from amplify.yml --- amplify.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/amplify.yml b/amplify.yml index 5978bc83..e61fed26 100644 --- a/amplify.yml +++ b/amplify.yml @@ -8,8 +8,6 @@ backend: 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: From bc964375c89c9d7f87488688e021c23d9023ac6f Mon Sep 17 00:00:00 2001 From: Stivenjs Date: Thu, 5 Jun 2025 10:42:32 -0500 Subject: [PATCH 2/2] chore(amplify): streamline amplify.yml by removing preBuild commands for Node version management --- amplify.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/amplify.yml b/amplify.yml index e61fed26..e69489b5 100644 --- a/amplify.yml +++ b/amplify.yml @@ -1,22 +1,12 @@ version: 1 backend: phases: - preBuild: - commands: - - nvm install 20 - - nvm use 20 build: commands: - npm ci --cache .npm --prefer-offline - 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 @@ -28,4 +18,4 @@ frontend: paths: - .next/cache/**/* - .npm/**/* - - node_modules/**/* + - node_modules/**/* \ No newline at end of file