summaryrefslogtreecommitdiffstats
path: root/src/VBox/Devices/EFI/Firmware/.azurepipelines/templates/spell-check-prereq-steps.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/Devices/EFI/Firmware/.azurepipelines/templates/spell-check-prereq-steps.yml')
-rw-r--r--src/VBox/Devices/EFI/Firmware/.azurepipelines/templates/spell-check-prereq-steps.yml22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/VBox/Devices/EFI/Firmware/.azurepipelines/templates/spell-check-prereq-steps.yml b/src/VBox/Devices/EFI/Firmware/.azurepipelines/templates/spell-check-prereq-steps.yml
new file mode 100644
index 00000000..26537a06
--- /dev/null
+++ b/src/VBox/Devices/EFI/Firmware/.azurepipelines/templates/spell-check-prereq-steps.yml
@@ -0,0 +1,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: '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())