Skip to content

Commit

Permalink
🚀 Create Azure Pipelines config
Browse files Browse the repository at this point in the history
  • Loading branch information
screendriver committed Jan 9, 2019
1 parent 82b397a commit 79e2a41
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
pool:
vmImage: Ubuntu-16.04

strategy:
matrix:
node_8_x:
node_version: 8.x
node_9_x:
node_version: 9.x
node_10_x:
node_version: 10.x
node_11_x:
node_version: 11.x

steps:
- task: NodeTool@0
displayName: Install Node.js
inputs:
versionSpec: $(node_version)

- script: yarn install
displayName: Install dependencies

- script: yarn build
displayName: Build application

- script: yarn test:ci
displayName: Running tests

- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-results.xml'
testRunTitle: Test results for JavaScript
condition: succeededOrFailed()

- task: PublishCodeCoverageResults@1
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: $(System.DefaultWorkingDirectory)/coverage/cobertura-coverage.xml
reportDirectory: $(System.DefaultWorkingDirectory)/coverage

0 comments on commit 79e2a41

Please sign in to comment.