From 2d22e0ea665c460ffe0e3148306c0f5b28a9b063 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Thu, 9 Mar 2023 13:07:11 +0100 Subject: [PATCH] Add job for Admin UI to JS workflow (#17533) --- .github/workflows/js-ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/js-ci.yml b/.github/workflows/js-ci.yml index 5591723e76..9a6d2f3963 100644 --- a/.github/workflows/js-ci.yml +++ b/.github/workflows/js-ci.yml @@ -50,10 +50,31 @@ jobs: - run: npm run lint --workspace=${{ env.WORKSPACE }} - run: npm run build --workspace=${{ env.WORKSPACE }} + admin-ui: + name: Admin UI + needs: conditional + if: needs.conditional.outputs.js-ci == 'true' + runs-on: ubuntu-latest + env: + WORKSPACE: admin-ui + steps: + - uses: actions/checkout@v3 + + - uses: ./.github/actions/npm-setup + with: + working-directory: js + + - run: npm run lint --workspace=${{ env.WORKSPACE }} + - run: npm run test --workspace=${{ env.WORKSPACE }} + - run: npm run build --workspace=${{ env.WORKSPACE }} + - run: npm run cy:check-types --workspace=${{ env.WORKSPACE }} + - run: npm run cy:run-component --workspace=${{ env.WORKSPACE }} + check-set-status: name: Set check conclusion needs: - admin-client + - admin-ui runs-on: ubuntu-latest outputs: conclusion: ${{ steps.check.outputs.conclusion }}