diff options
author | Kun Qin <kuqin12@gmail.com> | 2021-06-15 02:34:31 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-06-24 01:53:23 +0000 |
commit | 18b2272e4d6cc0856f3011a97ce8a45055cdffa7 (patch) | |
tree | a9e6f20e767ef76797766b87e9fcf02a1fb1e655 /.azurepipelines/templates | |
parent | 20ca52882877ba9025da2ee58c8dab7808eca457 (diff) | |
download | edk2-18b2272e4d6cc0856f3011a97ce8a45055cdffa7.tar.gz |
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 <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>
Diffstat (limited to '.azurepipelines/templates')
-rw-r--r-- | .azurepipelines/templates/spell-check-prereq-steps.yml | 2 |
1 files changed, 1 insertions, 1 deletions
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())
|