trigger: branches: include: - develop pool: vmImage: 'windows-latest' variables: angularDir: 'angular' outputDir: 'dist/ClientPortal' system.debug: 'true' steps: # Install .NET SDK - task: UseDotNet@2 inputs: packageType: 'sdk' version: '8.0.x' installationPath: $(Agent.ToolsDirectory)/dotnet displayName: 'Install .NET 8 SDK' # Install Node.js - task: NodeTool@0 inputs: versionSpec: '20.x' displayName: 'Install Node.js' # Install Yarn globally - script: | npm install -g yarn workingDirectory: '$(Build.SourcesDirectory)' displayName: 'Install Yarn' # Install Angular dependencies and ABP Schematics - task: CmdLine@2 inputs: script: | cd angular echo Installing dependencies... call yarn install echo Installing ABP Angular schematics... call yarn add -D @abp/ng.schematics@8.3.0 echo Installed schematics: dir node_modules\@abp\ng.schematics workingDirectory: '$(Build.SourcesDirectory)' displayName: 'Install ABP Angular Schematics' # Generate ABP Proxy using ABP CLI - task: CmdLine@2 inputs: script: | cd angular echo Creating .NET local tool manifest... dotnet new tool-manifest echo Installing ABP CLI... dotnet tool install Volo.Abp.Cli --version 8.1.2 echo Generating Angular proxy... dotnet tool run abp generate-proxy -t ng --url https:// --no-cache echo Proxy generation complete. workingDirectory: '$(Build.SourcesDirectory)' displayName: 'Generate Angular Proxy via ABP CLI'