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 }}