]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Azurepipeline: SpellCheck: Enforce Node dependency to use version 14.x
authorKun Qin <kuqin12@gmail.com>
Mon, 14 Jun 2021 18:34:31 +0000 (02:34 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 24 Jun 2021 01:53:23 +0000 (01:53 +0000)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3445

Per update from Cspell tool, the minimal requirement of Cspell 5.x
regarding Node is 12 and above. This has caused multple Cspell failures
during CI build validation:
"Failed to process "**.c" TypeError: text.matchAll(...) is not a function
or its return value is not iterable"

This change updates the lowest required node version to 14.x to support
Cspell functionalities.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Signed-off-by: Kun Qin <kuqin12@gmail.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com>
.azurepipelines/templates/spell-check-prereq-steps.yml

index e1570d4f2aacc1b973f9ce2bb8eabb190d4f7701..98ee3cfa6bc61d7e6b70bc95b1c86cc1f97a9b89 100644 (file)
@@ -13,7 +13,7 @@ parameters:
 steps:\r
 - task: NodeTool@0\r
   inputs:\r
-    versionSpec: '10.x'\r
+    versionSpec: '14.x'\r
     #checkLatest: false # Optional\r
   condition: and(gt(variables.pkg_count, 0), succeeded())\r
 \r