Skip to content

Commit

Permalink
Fixes the yarn binary used for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanis committed Jun 21, 2019
1 parent 9e76c88 commit 7faa0ec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions azure-pipelines.yml
Expand Up @@ -14,6 +14,10 @@ jobs:
versionSpec: 10.x
displayName: 'Install Node.js'

- bash: |
npm install -g yarn@1.17.2
displayName: "Install Yarn 1.17.2+"
- bash: |
YARN_ENABLE_NETWORK=0 node ./scripts/run-yarn.js --frozen-lockfile
displayName: "Check that the Yarn files don't change on new installs"
Expand Down
4 changes: 4 additions & 0 deletions scripts/azure-run-tests.yml
Expand Up @@ -5,6 +5,10 @@ steps:
versionSpec: $(node_version)
displayName: 'Install Node.js'

- bash: |
npm install -g yarn@1.17.2
displayName: "Install Yarn 1.17.2+"

- bash: |
set -e
node --version
Expand Down

0 comments on commit 7faa0ec

Please sign in to comment.