Skip to content

J-Lmb/CI-CD-pipeline-for-Node.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

CI-CD-pipeline-for-Node.js

--> Create a CI/CD pipeline for Node.js with the Azure

To sets up a continuous integration (CI) and continuous delivery (CD) pipeline for your Node.js app, you will need a valid AZURE account.

  1. Sign into the Microsoft Azure portal.
  2. Choose the Create a resource icon in the left navigation bar,
  3. Search for "DevOps project" and choose "Create"
  4. Set up all by keeping default settings

The Azure DevOps project created a Git repository in your VSTS or GitHub account.

Before going any further, clone this GitHub repo on your local drive:

git clone https://github.com/J-Lmb/CI-CD-pipeline-for-Node.js.git Create your package-lock.json and package.json containing your dependencies.

  1. Select the link for your master branch on your DevOps project dashboard.
  2. This link will open a the newly created Git repository on Azure with a sample code for your project.
  3. Delete the existing code and commit and push from your Git terminal the repo that you have previously cloned, to your AZURE git repository.
  4. And once done, the script will automatically run in the background with an automatic build and release.
  5. From your Dashboard, click on browse to visit the website or under the "Dev" section, click on release.
  6. In the Build & Release hub, open the Releases tab. Select your release pipeline and, in the right pane, choose Edit to play around or see the existing pipelines and environments.

About

Create a CI/CD pipeline for Node.js with the Azure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published