ci(azure-pipelines): build frontend dependencies in separate step

This commit is contained in:
Sarah Vaupel 2025-01-20 16:15:23 +01:00
parent f3d0c3e2a8
commit 8532af38a5

View File

@ -99,9 +99,16 @@ jobs:
steps:
- checkout: self
- script: |
cat .npmrc
make -- --compile-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR}
echo 'registry=https://pkgs.dev.azure.com/fraport/_packaging/packages/npm/registry/' > .npmrc
make -- --dependencies-frontend IN_CONTAINER=true IN_CI=true PROJECT_DIR=${PROJECT_DIR}
name: frontendDependencies
- task: Bash@3
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
name: frontendTest
displayName: Test frontend