From ea51d7d9a608227938999c1839e7583945bde708 Mon Sep 17 00:00:00 2001 From: Logan Davidson Date: Fri, 3 Nov 2023 17:27:57 +0000 Subject: [PATCH] Move the Amplify config into version control Move the Amplify configuration file into version control, rather than having it only in the AWS management console. For now it doesn't use node 18.17.1, but rather the default version, so it will fail to build - but it's still progress. --- frontend/amplify.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 frontend/amplify.yml diff --git a/frontend/amplify.yml b/frontend/amplify.yml new file mode 100644 index 00000000..d0a4bdd9 --- /dev/null +++ b/frontend/amplify.yml @@ -0,0 +1,17 @@ +version: 1 +applications: + - frontend: + phases: + preBuild: + commands: + - npm ci + build: + commands: + - npm run build + artifacts: + baseDirectory: .next + files: + - '**/*' + cache: + paths: + - node_modules/**/* \ No newline at end of file