How do I set up my Node project for continuous integration using Azure DevOps? In this video, learn how to push our Git repository to VisualStudio.com in a free private repository and configure our build process using Gulp.
- [Instructor] To get started with continuous integration…for node, I'm going to go to Azure DevOps,…which can be found at visualstudio.com,…and I'm going to create myself a free git repository.…Here's a pro-tip for you, visualstudio.com offers…free private git repositories.…Now that I've done that I can go ahead…and copy the command here for my repository.…Yours is going to look different.…And I'll paste that into our folder.…Now that I've done that I can go ahead and push everything…to the new repository…with git push minus U origin minus minus all.…
Then I'll go ahead and refresh the browser…just to see that it worked.…And now all my code is in Azure DevOps.…To set up our build I'm simply going to click…the set up build button.…And I'm going to search for node as the template,…and I see I've got node build with gulp,…which we're already using, that's perfect.…And we're going to go ahead and select the hosted version…and I'm going to call this nodejs-ci…for continuous integration.…
It's going to run npm install for us, from package that JSON…
Released
12/14/2018- Installing and publishing Node.js packages
- Defining classes in Node.js
- Building a web API with Express and Node.js
- Unit testing in Node.js
- Continuous integration
Share this video
Embed this video
Video: Creating a CI pipeline in Visual Studio Team Services