diff --git a/amplify.yml b/amplify.yml index bbccbd495..94da5240f 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 + - npm install + build: + commands: + - node -v + - npm run build + artifacts: + baseDirectory: dist/ + files: + - "**/*" cache: paths: - node_modules/**/* \ No newline at end of file