Skip to content

Commit

Permalink
chore: Update amplify.yml to include .turbo directory in artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
marcinciarka committed Jul 15, 2024
1 parent bf35176 commit 839745f
Showing 1 changed file with 22 additions and 19 deletions.
41 changes: 22 additions & 19 deletions amplify.yml
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/**/*

0 comments on commit 839745f

Please sign in to comment.