From ceef7cfa8afe06e92b3b4b3d3efca3e08f4af91a Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Thu, 9 Mar 2023 14:52:37 +0100 Subject: [PATCH] Add job for UI Shared to JS workflow (#17538) --- .github/workflows/js-ci.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/js-ci.yml b/.github/workflows/js-ci.yml index 0618c4e6b4c..57f135a0b18 100644 --- a/.github/workflows/js-ci.yml +++ b/.github/workflows/js-ci.yml @@ -83,6 +83,23 @@ jobs: - run: npm run lint --workspace=${{ env.WORKSPACE }} - run: npm run build --workspace=${{ env.WORKSPACE }} + ui-shared: + name: UI Shared + needs: conditional + if: needs.conditional.outputs.js-ci == 'true' + runs-on: ubuntu-latest + env: + WORKSPACE: ui-shared + steps: + - uses: actions/checkout@v3 + + - uses: ./.github/actions/npm-setup + with: + working-directory: js + + - run: npm run lint --workspace=${{ env.WORKSPACE }} + - run: npm run build --workspace=${{ env.WORKSPACE }} + account-ui: name: Account UI needs: conditional @@ -126,6 +143,7 @@ jobs: - admin-client - keycloak-js - keycloak-masthead + - ui-shared - account-ui - admin-ui runs-on: ubuntu-latest