ci(azure-pipelines): build frontend dependencies in separate step
This commit is contained in:
parent
f3d0c3e2a8
commit
8532af38a5
@ -99,9 +99,16 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout: self
|
- checkout: self
|
||||||
- script: |
|
- script: |
|
||||||
cat .npmrc
|
echo 'registry=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/' > .npmrc
|
||||||
make -- --compile-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR}
|
make -- --dependencies-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR}
|
||||||
|
name: frontendDependencies
|
||||||
|
- task: Bash@3
|
||||||
name: frontendCompile
|
name: frontendCompile
|
||||||
|
displayName: Compile frontend
|
||||||
|
inputs:
|
||||||
|
targetType: inline
|
||||||
|
script: |
|
||||||
|
make -- --compile-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR}
|
||||||
- task: Bash@3
|
- task: Bash@3
|
||||||
name: frontendTest
|
name: frontendTest
|
||||||
displayName: Test frontend
|
displayName: Test frontend
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user