Browse Source

build: use yarn to install arm modules (#18802)

trop[bot] 5 years ago
parent
commit
97bec607fe
1 changed files with 3 additions and 3 deletions
  1. 3 3
      vsts-arm-test-steps.yml

+ 3 - 3
vsts-arm-test-steps.yml

@@ -6,8 +6,8 @@ steps:
 
 - bash: |
     cd src/electron
-    npm install --verbose
-  displayName: 'NPM install'
+    node script/yarn.js install --frozen-lockfile
+  displayName: 'Yarn install'
 
 - bash: |
     export ZIP_DEST=$PWD/src/out/Default
@@ -58,7 +58,7 @@ steps:
     cd src
     export npm_config_nodedir=$PWD/out/Default/gen/node_headers
     cd electron/spec
-    npm install --verbose
+    node ../script/yarn.js install --frozen-lockfile
   displayName: Install test modules
 
 - bash: |