I'm driving an AppVeyor build with an appveyor.yml
file, in this instance an Angular CLI build. This is a part of my file:
test_script:
- npm run lint
- npm test
- npm run e2e
- npm run build
Those are all npm
scripts
that delegate actual work to the ng
cli.
How can I properly get timings for each step? My real build is even a bit bigger, and for starters I'd like to see (preferably as a summary) how long each step took.
I tried adding - ps: Get-Date -Format "o"
in between each step, which is a workaround, but not really a nice one.
Can this be done in a more convenient manner?