Add job for Admin UI to JS workflow (#17533)
This commit is contained in:
parent
e2a0c0df8e
commit
2d22e0ea66
1 changed files with 21 additions and 0 deletions
21
.github/workflows/js-ci.yml
vendored
21
.github/workflows/js-ci.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue