Skip to content

Commit

Permalink
Use npm --prefix flag instead of cd
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Rodriguez <[email protected]>
  • Loading branch information
lucasrod16 committed Sep 28, 2024
1 parent 9ba9425 commit 3f91967
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

set -euo pipefail

cd ui && npm ci --legacy-peer-deps && npm run build
cd - || exit 1
npm --prefix=ui ci
npm --prefix=ui run build

GOOS=linux GOARCH=amd64 go build -o ./bin/api

Expand Down

0 comments on commit 3f91967

Please sign in to comment.