mirror of https://github.com/acidanthera/audk.git
23 lines
535 B
YAML
23 lines
535 B
YAML
|
## @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: '10.x'
|
||
|
#checkLatest: false # Optional
|
||
|
condition: and(gt(variables.pkg_count, 0), succeeded())
|
||
|
|
||
|
- script: npm install -g cspell
|
||
|
displayName: 'Install cspell npm'
|
||
|
condition: and(gt(variables.pkg_count, 0), succeeded())
|