From 4d4b3055fc39f152d0dcda60ddbc8e885ff1e028 Mon Sep 17 00:00:00 2001 From: tapnicom Date: Sat, 24 Aug 2024 16:15:39 +0200 Subject: [PATCH] - build fix - try #12 --- amplify.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/amplify.yml b/amplify.yml index 1beeb7e..1deb6ae 100644 --- a/amplify.yml +++ b/amplify.yml @@ -5,13 +5,11 @@ applications: phases: preBuild: commands: - - npm i -g pnpm - - pnpm config set store-dir .pnpm-store - - pnpm i + - npm install build: commands: - env >> .env - - pnpm run build + - npm run build - mv node_modules ./.amplify-hosting/compute/default - mv .env ./.amplify-hosting/compute/default/.env artifacts: @@ -20,4 +18,4 @@ applications: - '**/*' cache: paths: - - .pnpm-store/**/* + - node_modules/**/*