This may already be mentioned on this blog, but here it is again:
- create three npm tasks in a pipeline:
- first comes an install task
- second comes a custom task that runs the command "run build"
- third comes a custom task that runs the command "run test"
- If you add a new step wrapping a task, click on the step and set the "Dependencies" to have the appropriate dependencies. You will need to also make this change for all steps downstream of the new step.
- make sure the tests only run once
No comments:
Post a Comment