From 0446cf3aee71fd2f20010d7f1e4d399e9d9c5286 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 10 Sep 2018 23:04:33 -0700 Subject: [PATCH] Install yarn manually on Linux --- azure-pipelines.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f9d41638..c4bdbc69 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -12,9 +12,15 @@ jobs: inputs: versionSpec: '8.x' displayName: 'Install Node.js' + - script: | + curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - + echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list + sudo apt-get update && sudo apt-get install yarn + sudo apt-get install --no-install-recommends yarn + displayName: 'Install yarn' - script: | yarn install - displayName: 'Install yarn dependencies' + displayName: 'Install npm dependencies' - script: | yarn tsc displayName: 'Build'