From 1c182322ae0be6b175a486c644214a558010ff82 Mon Sep 17 00:00:00 2001 From: shanmugam2114 <57871259+shanmugam2114@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:09:43 +0530 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..676233af --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,21 @@ +# Node.js +# Build a general Node.js project with npm. +# Add steps that analyze code, save build artifacts, deploy, and more: +# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript + +trigger: +- master + +pool: + vmImage: ubuntu-latest + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + +- script: | + npm install + npm run build + displayName: 'npm install and build' From a676adf09048e6a95f6bdae7da49ce4da6733d2f Mon Sep 17 00:00:00 2001 From: shanmugam2114 <57871259+shanmugam2114@users.noreply.github.com> Date: Mon, 11 Dec 2023 15:13:46 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c3e21fa9..a8df57a0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Sample NodeJS application for Azure Pipelines docs +#Updated the feature branch For information on how to set up a pipeline for this repository, see [Create your first pipeline](https://docs.microsoft.com/azure/devops/pipelines/get-started-yaml?view=azure-devops). For more information on building JavaScript or NodeJS applications, see [JavaScript](https://docs.microsoft.com/azure/devops/pipelines/languages/javascript).