spell-check-prereq-steps.yml 542 B

12345678910111213141516171819202122
  1. ## @file
  2. # File templates/spell-check-prereq-steps.yml
  3. #
  4. # template file used to install spell checking prerequisits
  5. #
  6. # Copyright (c) Microsoft Corporation.
  7. # SPDX-License-Identifier: BSD-2-Clause-Patent
  8. ##
  9. parameters:
  10. none: ''
  11. steps:
  12. - task: NodeTool@0
  13. inputs:
  14. versionSpec: '14.x'
  15. #checkLatest: false # Optional
  16. condition: and(gt(variables.pkg_count, 0), succeeded())
  17. - script: npm install -g cspell@5.20.0
  18. displayName: 'Install cspell npm'
  19. condition: and(gt(variables.pkg_count, 0), succeeded())