From 686a0c9005b63420773c98bc0f69520c254d5e8e Mon Sep 17 00:00:00 2001 From: Gabriel Salazar <57963263+gabriel-salazar@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:25:01 -0300 Subject: [PATCH] Create azure-pipelines.yml --- azure-pipelines.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 00000000..d7a9deb5 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,26 @@ +# 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: +- main + +pool: + vmImage: ubuntu-latest + +steps: +- task: NodeTool@0 + inputs: + versionSpec: '10.x' + displayName: 'Install Node.js' + +- script: | + npm install + npm run build + npm test +- task: PublishTestResults@2 + inputs: + testResultsFormat: 'JUnit' + testResultsFiles: '**/TEST-*.xml' + displayName: 'npm install and build'