mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-13 17:22:15 -05:00
45 lines
952 B
YAML
45 lines
952 B
YAML
steps:
|
|
- task: NodeTool@0
|
|
inputs:
|
|
versionSpec: '10.15.1'
|
|
displayName: 'Install Node.js'
|
|
|
|
- script: |
|
|
yarn
|
|
displayName: 'Yarn Install'
|
|
|
|
- script: |
|
|
yarn gulp electron-x64
|
|
displayName: 'Electron'
|
|
|
|
- script: |
|
|
yarn gulp hygiene
|
|
displayName: Run Hygiene Checks
|
|
|
|
- script: |
|
|
yarn tslint
|
|
displayName: 'Run TSLint'
|
|
|
|
- script: |
|
|
yarn strict-null-check
|
|
displayName: 'Run Strict Null Check'
|
|
|
|
- script: |
|
|
yarn compile
|
|
displayName: 'Compile'
|
|
|
|
- script: |
|
|
.\scripts\test.bat --reporter mocha-junit-reporter --coverage
|
|
displayName: 'Test'
|
|
|
|
- task: PublishTestResults@2
|
|
inputs:
|
|
testResultsFiles: 'test-results.xml'
|
|
condition: succeededOrFailed()
|
|
|
|
- task: PublishCodeCoverageResults@1
|
|
inputs:
|
|
codeCoverageTool: 'cobertura'
|
|
summaryFileLocation: $(System.DefaultWorkingDirectory)\.build\coverage\cobertura-coverage.xml
|
|
reportDirectory: $(System.DefaultWorkingDirectory)\.build\coverage\lcov-report
|