From 50eff34b15e3bb9b76edfc00301b53034da01219 Mon Sep 17 00:00:00 2001 From: Arihant Jain Date: Mon, 11 Oct 2021 13:23:09 +0530 Subject: [PATCH 1/2] Set up CI with Azure Pipelines [skip ci] --- azure-pipelines.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 azure-pipelines.yml diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..5142435c2 --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,29 @@ +# 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' +- task: BrowserStackConfig@0 + inputs: + BrowserStackServiceEndPoint: 'BrowserStack Connection' +- script: | + npm install + npm run build + displayName: 'npm install and build' + +- script: | + npm run single + displayName: 'run tests on browserstack' + +- task: BrowserStackResults@0 \ No newline at end of file From 4c1871c43dd18b622ddeee3ff546aa00e1276ee1 Mon Sep 17 00:00:00 2001 From: Arihant Jain Date: Mon, 11 Oct 2021 13:50:11 +0530 Subject: [PATCH 2/2] Update azure-pipelines.yml for Azure Pipelines --- azure-pipelines.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5142435c2..1c739f6e8 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -19,7 +19,7 @@ steps: BrowserStackServiceEndPoint: 'BrowserStack Connection' - script: | npm install - npm run build + # npm run build displayName: 'npm install and build' - script: |