Skip to content

Commit

Permalink
Merge pull request #1492 from mineralsfree/ENT-12149
Browse files Browse the repository at this point in the history
ENT-12149: added step to build react components
  • Loading branch information
craigcomstock authored Oct 18, 2024
2 parents 3242a5d + 7902924 commit e9c633c
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 e9c633c

Please sign in to comment.