Skip to content

Commit

Permalink
added step to build react components
Browse files Browse the repository at this point in the history
Ticket: ENT-11495
Changelog: None
Signed-off-by: Mikita Pilinka <[email protected]>
  • Loading branch information
mineralsfree committed Sep 6, 2024
1 parent 7bcaba2 commit 7902924
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build-scripts/bootstrap-tarballs
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,14 @@ mv sha256sums.txt sha256sums.$CKSUM.txt
(
if test -f "$BASEDIR/mission-portal/public/scripts/package.json"; then
cd $BASEDIR/mission-portal/public/scripts
# display node & npm versions
npm --version
node --version
# install dependencies from npmjs
npm i --prefix $BASEDIR/mission-portal/public/scripts/
# build react components
npm run build --prefix $BASEDIR/mission-portal/public/scripts/

fi
)

Expand Down
2 changes: 2 additions & 0 deletions ci/setup-projects.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ if test -f "mission-portal/public/scripts/package.json"; then
cd mission-portal/public/scripts
# install dependencies from npmjs
npm i
# build react components
npm run build
fi
)

Expand Down

0 comments on commit 7902924

Please sign in to comment.