diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 000000000..1c739f6e8 --- /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