]> git.proxmox.com Git - mirror_edk2.git/blob - .azurepipelines/templates/spell-check-prereq-steps.yml
.azurepipelines: Add Azure Pipelines YML configuration files
[mirror_edk2.git] / .azurepipelines / templates / spell-check-prereq-steps.yml
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
10 parameters:
11 none: ''
12
13 steps:
14 - task: NodeTool@0
15 inputs:
16 versionSpec: '10.x'
17 #checkLatest: false # Optional
18 condition: and(gt(variables.pkg_count, 0), succeeded())
19
20 - script: npm install -g cspell
21 displayName: 'Install cspell npm'
22 condition: and(gt(variables.pkg_count, 0), succeeded())