Skip to content

Commit

Permalink
Update build&publish-juno-ui-components.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf authored Apr 15, 2024
1 parent 0daa183 commit ff21a33
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/build&publish-juno-ui-components.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,21 +51,15 @@ jobs:
scope: "@${{ github.repository_owner }}"
- name: build libs
run: |
ls -la
# install npm packages
npm install
# build libs if asset type is "app"
if test -d ./apps; then
echo "====apps"
ls -la apps
if [ "$ASSET_TYPE" = "app" ] || [ "$ASSET_TYPE" = "apps" ]; then npm run build-libs; fi
fi
if test -d ./libs; then
echo "====libs"
ls -la libs
fi
# install npm packages
npm install
# build libs if asset type is "app"
if [ "$ASSET_TYPE" = "app" ] || [ "$ASSET_TYPE" = "apps" ]; then npm run build-libs; fi
- name: test asset
run: |
Expand Down

0 comments on commit ff21a33

Please sign in to comment.