From a68b378819ac1fb3ea2ccc0081373dc4725d3ddb Mon Sep 17 00:00:00 2001 From: Jerry Hogan Date: Wed, 26 Oct 2022 13:22:49 +0100 Subject: [PATCH 1/2] chore: updated amplify.yml file --- amplify.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/amplify.yml b/amplify.yml index bbccbd495..a8a4a41b8 100644 --- a/amplify.yml +++ b/amplify.yml @@ -125,6 +125,25 @@ applications: baseDirectory: .nuxt files: - "**/*" + cache: + paths: + - node_modules/**/* + + - appRoot: solidjs-tailwind + frontend: + phases: + preBuild: + commands: + - nvm install --lts=gallium + - pnpm install + build: + commands: + - node -v + - pnpm run build + artifacts: + baseDirectory: dist/ + files: + - "**/*" cache: paths: - node_modules/**/* \ No newline at end of file From 4b4306c9d889799d02f10042c7a3cdaa48c7962c Mon Sep 17 00:00:00 2001 From: Jerry Hogan Date: Mon, 14 Nov 2022 12:54:25 +0100 Subject: [PATCH 2/2] changed pnpm to npm --- amplify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/amplify.yml b/amplify.yml index a8a4a41b8..94da5240f 100644 --- a/amplify.yml +++ b/amplify.yml @@ -135,11 +135,11 @@ applications: preBuild: commands: - nvm install --lts=gallium - - pnpm install + - npm install build: commands: - node -v - - pnpm run build + - npm run build artifacts: baseDirectory: dist/ files: