From 18b2272e4d6cc0856f3011a97ce8a45055cdffa7 Mon Sep 17 00:00:00 2001 From: Kun Qin Date: Tue, 15 Jun 2021 02:34:31 +0800 Subject: [PATCH] Azurepipeline: SpellCheck: Enforce Node dependency to use version 14.x 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 Cc: Bret Barkelew Cc: Michael D Kinney Cc: Liming Gao Signed-off-by: Kun Qin Reviewed-by: Ard Biesheuvel Acked-by: Liming Gao Reviewed-by: Sean Brogan --- .azurepipelines/templates/spell-check-prereq-steps.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azurepipelines/templates/spell-check-prereq-steps.yml b/.azurepipelines/templates/spell-check-prereq-steps.yml index e1570d4f2a..98ee3cfa6b 100644 --- a/.azurepipelines/templates/spell-check-prereq-steps.yml +++ b/.azurepipelines/templates/spell-check-prereq-steps.yml @@ -13,7 +13,7 @@ parameters: steps: - task: NodeTool@0 inputs: - versionSpec: '10.x' + versionSpec: '14.x' #checkLatest: false # Optional condition: and(gt(variables.pkg_count, 0), succeeded())