-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update amplify.yml to include .turbo directory in artifacts
- Loading branch information
1 parent
bf35176
commit 839745f
Showing
1 changed file
with
22 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
version: 1 | ||
frontend: | ||
phases: | ||
preBuild: | ||
commands: | ||
- npx pnpm install | ||
- npx pnpm prebuild | ||
build: | ||
commands: | ||
- npx pnpm build-earn-frontend | ||
artifacts: | ||
baseDirectory: apps/earn-protocol/.next | ||
files: | ||
- '**/*' | ||
cache: | ||
paths: | ||
- node_modules/**/* | ||
- /**/*/node_modules/**/* | ||
- .turbo/**/* | ||
- /**/*/.turbo/**/* | ||
applications: | ||
- appRoot: apps/react-app | ||
frontend: | ||
buildPath: / | ||
phases: | ||
preBuild: | ||
commands: | ||
- npx pnpm install | ||
- npx pnpm prebuild | ||
build: | ||
commands: | ||
- npx pnpm build-earn-frontend | ||
artifacts: | ||
baseDirectory: apps/earn-protocol/.next | ||
files: | ||
- '**/*' | ||
cache: | ||
paths: | ||
- node_modules/**/* | ||
- /**/*/node_modules/**/* | ||
- .turbo/**/* | ||
- /**/*/.turbo/**/* |