Skip to content

Commit

Permalink
Fixed CI not failing on FE error.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Mar 15, 2024
1 parent e8df950 commit 33764b9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .devtools/build-codebase.sh
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ ln -s "$(pwd)"/* "build/web/${type}/custom/${extension}" && rm "build/web/${type
if [ -f "build/web/${type}/custom/${extension}/package-lock.json" ]; then
pushd "build/web/${type}/custom/${extension}" >/dev/null || exit 1
echo "> Install front-end dependencies."
[ -f ".nvmrc" ] && nvm use || true
[ ! -d "node_modules" ] && npm ci || true
if [ -f ".nvm" ]; then nvm use; fi
if [ ! -d "node_modules" ]; then npm ci; fi
echo "> Build front-end dependencies."
npm run build
popd >/dev/null || exit 1
Expand Down

0 comments on commit 33764b9

Please sign in to comment.