Skip to content

Commit

Permalink
workflows: test build ui with core (#1340)
Browse files Browse the repository at this point in the history
* workflows: test build ui with core

* trigger dummy change

* Revert "trigger dummy change"

This reverts commit 6226010.
  • Loading branch information
bjia56 authored Feb 25, 2024
1 parent dbb314b commit ead2c5e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build-plugins-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,17 @@ jobs:
# Loop through each changed directory
for dir in $changed_dirs; do
pushd "./plugins/$dir"
if [[ "$dir" == "core" ]]; then
# core plugin requires ui to be built
pushd "./ui"
echo "plugins/$dir/ui > npm install"
npm install
echo "plugins/$dir/ui > npm run build"
npm run build
popd
fi
echo "plugins/$dir > npm install"
npm install
echo "plugins/$dir > npm run build"
Expand Down

0 comments on commit ead2c5e

Please sign in to comment.