Fixed index
This commit is contained in:
parent
5c1c16ad69
commit
80db3582b4
1 changed files with 17 additions and 17 deletions
|
|
@ -38,24 +38,24 @@ stages:
|
||||||
# PR's
|
# PR's
|
||||||
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
- ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
|
||||||
- stage: TestFormat
|
- stage: TestFormat
|
||||||
displayName: Test Code Format
|
displayName: Test Code Format
|
||||||
jobs:
|
jobs:
|
||||||
- job: checkFormatting
|
- job: checkFormatting
|
||||||
displayName: Check formatting
|
displayName: Check formatting
|
||||||
container: prettier-node
|
container: prettier-node
|
||||||
steps:
|
steps:
|
||||||
- bash: prettier --check "$(Build.SourcesDirectory)/src/**/*.(js|vue)"
|
- bash: prettier --check "$(Build.SourcesDirectory)/src/**/*.(js|vue)"
|
||||||
displayName: Run Prettier check
|
displayName: Run Prettier check
|
||||||
|
|
||||||
- stage: TestPr
|
- stage: TestPr
|
||||||
displayName: Run Unit Tests For PullRequest
|
displayName: Run Unit Tests For PullRequest
|
||||||
jobs:
|
jobs:
|
||||||
- template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps
|
- template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps
|
||||||
parameters:
|
parameters:
|
||||||
nodeContainer: node
|
nodeContainer: node
|
||||||
npmLocation: $(Build.SourcesDirectory)
|
npmLocation: $(Build.SourcesDirectory)
|
||||||
testResultsFile: junit.xml
|
testResultsFile: junit.xml
|
||||||
summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
|
summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
|
||||||
- ${{ else }}:
|
- ${{ else }}:
|
||||||
# Dev Build/Deploy
|
# Dev Build/Deploy
|
||||||
- stage: Dev
|
- stage: Dev
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue