Use env var to specify path to npm binary

This commit is contained in:
Jason Rudolph
2019-04-18 09:24:19 -04:00
parent 680e48485a
commit cb3f24fc5c
2 changed files with 4 additions and 1 deletions

View File

@@ -19,11 +19,12 @@ jobs:
- script: npm install --global npm@6.2.0
displayName: Update npm
- script: export PATH="/usr/local/bin:${PATH}" && script/bootstrap
- script: script/bootstrap
displayName: Bootstrap build environment
env:
CI: true
CI_PROVIDER: VSTS
NPM_BIN_PATH: /usr/local/bin/npm
- script: script/lint
displayName: Run linter