diff --git a/azure-pipelines.yaml b/azure-pipelines.yaml index 78b0e7233..6bfbc2ac4 100644 --- a/azure-pipelines.yaml +++ b/azure-pipelines.yaml @@ -83,32 +83,13 @@ jobs: containerRegistry: devFra - job: CompileFrontend + dependsOn: BuildFrontendImage + condition: succeeded() container: - image: devfra.azurecr.io/de.fraport.build/npm:node-20 + image: devfra.azurecr.io/de.fraport.fradrive.build/frontend:$(Build.BuildNumber) endpoint: devfra steps: - checkout: self - - task: Npm@1 - name: frontendInstall - displayName: Install node_modules - inputs: - command: 'install' - workingDir: '$(Build.Repository.LocalPath)' - verbose: true - - task: Npm@1 - name: frontendBuild - displayName: Build frontend resources - inputs: - command: 'custom' - customCommand: 'build' - workingDir: '$(Build.Repository.LocalPath)' - - task: Bash@3 - name: debugPrints - inputs: - targetType: inline - script: | - ls -a . - ls -a $(Build.Repository.LocalPath) - task: Bash@3 name: compileFrontend displayName: Compile frontend