Skip to content

Commit

Permalink
- build fix - try alexnguyennz#12
Browse files Browse the repository at this point in the history
  • Loading branch information
tapnicom committed Aug 24, 2024
1 parent d82e2a8 commit 4d4b305
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ applications:
phases:
preBuild:
commands:
- npm i -g pnpm
- pnpm config set store-dir .pnpm-store
- pnpm i
- npm install
build:
commands:
- env >> .env
- pnpm run build
- npm run build
- mv node_modules ./.amplify-hosting/compute/default
- mv .env ./.amplify-hosting/compute/default/.env
artifacts:
Expand All @@ -20,4 +18,4 @@ applications:
- '**/*'
cache:
paths:
- .pnpm-store/**/*
- node_modules/**/*

0 comments on commit 4d4b305

Please sign in to comment.