I have used CI for Angular2 projects in the past that use npm commands, however I recently started using Angular -CLI, which uses ng commands instead.
When I try to configure CI for my project in Visual Studio Online, I cannot find a way to execute the "ng" commands.
I tried to execute the NPM command (using the npm task from the directory) to install the CLI; npm install -g Angular-cli, after which I run npm install. Now, to run 'ng build', I tried to run using the command line tool (since there is no tool that allows me to run ng commands), but this does not mean that ng is not a recognized command.
Any suggestions for setting up CI for an Angular-CLI project using VSO?
thank
Pawel source
share