Skip to content

Commit

Permalink
install dependencies before building
Browse files Browse the repository at this point in the history
  • Loading branch information
erinz2020 committed Sep 10, 2024
1 parent 06a50a2 commit 4918cd6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions frontend/maven-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ export SITE_NAME="Test Site Name"
npm install react-app-rewired

cd frontend

# Use `npm ci` for consistent and faster installs in production, as it installs exact versions
# from `package-lock.json` without modifying it, ensuring stability across environments.
npm ci

npm run build

rsync -a build/ ../src/main/webapp/react
Expand Down

0 comments on commit 4918cd6

Please sign in to comment.