From 2f1c2c5312a596b19e63462a201afa4995111968 Mon Sep 17 00:00:00 2001 From: David Anson Date: Sat, 1 Jun 2019 14:40:14 -0700 Subject: [PATCH] Convert Azure DevOps script to one-liner to work around early exit on Windows due to invoking a script from a script (npm). --- azure-pipelines.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 8676e022..655cf106 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -40,7 +40,5 @@ steps: versionSpec: $(node_version) displayName: 'Install Node.js' -- script: | - npm install --no-package-lock - npm run ci +- script: 'npm install --no-package-lock && npm run ci' displayName: 'npm install and run ci'