Use precise version of yarn?

javascript
nodejs
circle.yml
yarn

#1

Is there any out-of-the box way to have CircleCI use an exact, precise, version of Yarn?

Note the following caveat, from the creators of Yarn:

Yarn is fully deterministic as long as all your teammates are using the same Yarn version.


#2

On CircleCI 1.0, no. You’d need to install the version you want.

On CircleCI 2.0, simply use a Docker image with the version you want. That can be a custom image of your own or a public one.


#3