diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..076d9ae --- /dev/null +++ b/azure-pipelines.yml @@ -0,0 +1,25 @@ + +# 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 --save-dev gulp jshint gulp-jshint jshint-stylish gulp-concat node-sass gulp-jsvalidate + sudo npm install --global gulp-cli + gulp jshint --gulpfile ./js/gulpfile.js + gulp styles --gulpfile ./js/gulpfile.js + gulp jsValidate --gulpfile ./js/gulpfile.js + displayName: 'installing and running tests'