summaryrefslogtreecommitdiff
path: root/.azurepipelines/templates/spell-check-prereq-steps.yml
blob: 226909d54c4edece24330348e72162c27e7bb6e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## @file
# File templates/spell-check-prereq-steps.yml
#
# template file used to install spell checking prerequisits
#
# Copyright (c) Microsoft Corporation.
# SPDX-License-Identifier: BSD-2-Clause-Patent
##

parameters:
  none: ''

steps:
- task: NodeTool@0
  inputs:
    versionSpec: '14.x'
    #checkLatest: false # Optional
  condition: and(gt(variables.pkg_count, 0), succeeded())

- script: npm install -g cspell@5.20.0
  displayName: 'Install cspell npm'
  condition: and(gt(variables.pkg_count, 0), succeeded())