Add job for Admin UI to JS workflow (#17533)

This commit is contained in:
Jon Koops 2023-03-09 13:07:11 +01:00 committed by GitHub
parent e2a0c0df8e
commit 2d22e0ea66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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