flamegrill/azure-pipelines.yml

35 строки
547 B
YAML

trigger: none
pr:
- master
pool:
vmImage: 'ubuntu-latest'
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: |
yarn
displayName: 'yarn'
- script: |
yarn build
displayName: 'build'
- script: |
yarn test
displayName: 'test'
- script: |
yarn checkchange
displayName: 'checkchange'
- task: ComponentGovernanceComponentDetection@0
inputs:
scanType: 'Register'
verbosity: 'Verbose'
alertWarningLevel: 'High'