@shko.online/componentframework-mock
Version:
Mocking library to help with testing PowerApps Component Framework Components
41 lines (33 loc) • 742 B
YAML
trigger:
- main
- beta
pool:
vmImage: windows-latest
steps:
- task: UseNode@1
inputs:
version: '24.x'
- task: Npm@1
inputs:
command: 'ci'
displayName: "Install NPM Dependencies"
- task: Npm@1
inputs:
command: 'custom'
customCommand: 'run test:types'
displayName: "Test Types"
- task: Npm@1
inputs:
command: 'custom'
customCommand: 'run test:jest'
displayName: "Test"
- task: Npm@1
inputs:
command: 'custom'
customCommand: 'run build'
displayName: "Build"
- task: PublishCodeCoverageResults@2
displayName: "Publish code coverage results"
condition: succeededOrFailed()
inputs:
summaryFileLocation: "coverage/cobertura-coverage.xml"