From dc57ed7a677ded461f929fea92151c406c000bf1 Mon Sep 17 00:00:00 2001 From: Ben Jackson Date: Fri, 21 Aug 2020 18:14:59 +0100 Subject: [PATCH] Use the node installer task --- azure-pipelines.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 5064c34..9b09c49 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -74,13 +74,19 @@ stages: pool: vmImage: 'macOS-10.14' steps: + # Node.js tool installer + # Finds or downloads and caches the specified version spec of Node.js and adds it to the PATH + - task: NodeTool@0 + inputs: + versionSpec: '>=12.0.0' + - bash: | brew update - for p in macvim node tcl-tk llvm; do + brew doctor + for p in macvim tcl-tk llvm; do brew install $p brew outdated $p || brew upgrade $p done - find /usr/local/include/node -type d -exec chmod +w {} \; brew link --force --overwrite node displayName: 'Install vim and node'