Base solution for your next web application
Open Closed

setting up CI (Azure DevOps) for angular solution #6045


User avatar
0
unisoftware created

I have been stuck in setting up CI for an angular only project (we have separated FE and BE in different repositories). Any guide from anyone will be very helpful. Here is what I have tried so far: Tasks:

  • Install angular cli
  • Run yarn
  • Build angular app
  • Copy web.config to dist folder

In Build angular app task, I tried multiple commands for a build but it gets stuck, don't know what mistake I did, I test with following commands:

  • ng build --prod
  • ng build --configuration=production
  • ng run abp-zero-template:build:production (suggestion found from SO)

But each of the commands gets stuck with no any response for like forever. Anyone encounter this while setting up CI with Azure DevOps??

P.S. I am new on angular.


1 Answer(s)