I need to build and run unittests on my angular 2 project on Teamcity. Locally i'm using angular CLI to build and run unittests and i want to do this on Teamcity as well. I just can not find any documentation for this.
I have made a powershell script which is executed on Teamcity:
function runNgBuild() {
Invoke-Expression Ecgdk.Dealerhub.Client\node_modules\.bin\ng.cmd
}
runNgBuild
(This script will be more advanced when i get this simple stuff to work.)
But how do i pass in the process (build, test etc) i want to start?