diff --git a/eng/common/pipelines/templates/steps/check-spelling.yml b/eng/common/pipelines/templates/steps/check-spelling.yml index a25fd9444118..8d7a716cbdfc 100644 --- a/eng/common/pipelines/templates/steps/check-spelling.yml +++ b/eng/common/pipelines/templates/steps/check-spelling.yml @@ -15,15 +15,9 @@ parameters: steps: - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}: - - task: NodeTool@0 - condition: and(succeededOrFailed(), ne(variables['Skip.SpellCheck'],'true')) - inputs: - versionSpec: 18.x - displayName: Use Node.js 18.x - - task: PowerShell@2 displayName: Check spelling (cspell) - condition: and(succeededOrFailed(), ne(variables['Skip.SpellCheck'],'true')) + condition: and(succeeded(), ne(variables['Skip.SpellCheck'],'true')) continueOnError: ${{ parameters.ContinueOnError }} inputs: targetType: filePath