Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions eng/templates/stages/oav.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,13 @@ extends:
- task: PublishTestResults@2
condition: succeededOrFailed()
inputs:
testResultsFiles: "**/test-results.xml"
testResultsFiles: "**/junit.xml"
testRunTitle: "Test results for JavaScript"

- task: PublishCodeCoverageResults@1
- task: PublishCodeCoverageResults@2
condition: succeededOrFailed()
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: "$(System.DefaultWorkingDirectory)/**/*coverage.xml"
reportDirectory: "$(System.DefaultWorkingDirectory)/**/coverage"

- task: Npm@1
displayName: "npm pack"
Expand Down
2 changes: 1 addition & 1 deletion eng/templates/steps/deep-regression-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ steps:

- task: UseNode@1
inputs:
versionSpec: '16.x'
versionSpec: '22.x'
checkLatest: true

- task: UsePythonVersion@0
Expand Down
11 changes: 7 additions & 4 deletions eng/templates/steps/simple-regression-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ parameters:
default: "slow-test"

steps:
- task: UseNode@1
inputs:
version: "22.x"
displayName: "Use Node 22"

- task: Npm@1
displayName: "npm ci"
inputs:
Expand All @@ -19,14 +24,12 @@ steps:

- task: PublishTestResults@2
inputs:
testResultsFiles: "**/test-results.xml"
testResultsFiles: "**/junit.xml"
testRunTitle: "Test results for JavaScript"

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

- script: |
echo "If this step fails, go to the published artifacts apply the patch provided to your local git repo using `git apply <file>`"
Expand Down
Loading