ci(azure-pipelines): add frontend build job
This commit is contained in:
parent
15f6dd9211
commit
cd15ddea2f
@ -75,4 +75,26 @@ jobs:
|
|||||||
displayName: Docker Logout from devfra
|
displayName: Docker Logout from devfra
|
||||||
inputs:
|
inputs:
|
||||||
command: logout
|
command: logout
|
||||||
containerRegistry: devFra
|
containerRegistry: devFra
|
||||||
|
|
||||||
|
- job: CompileFrontend
|
||||||
|
container:
|
||||||
|
image: devfra.azurecr.io/de.fraport.fradrive.build/frontend:$(Build.BuildNumber)
|
||||||
|
endpoint: devfra
|
||||||
|
steps:
|
||||||
|
- checkout: self
|
||||||
|
- task: Bash@3
|
||||||
|
name: compileFrontend
|
||||||
|
displayName: Compile frontend
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: |
|
||||||
|
make compile-frontend
|
||||||
|
- task: Bash@3
|
||||||
|
name: testFrontend
|
||||||
|
displayName: Test frontend
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: |
|
||||||
|
make lint-frontend
|
||||||
|
make test-frontend
|
||||||
Loading…
Reference in New Issue
Block a user