message: chore(ci): Use `yarn` instead of `npm`
diff: @@ -72,17 +72,6 @@ jobs:
  run: |
  yarn
  - - name: Cache
  - uses: actions/cache@v2
  - with:
  - path: |
  - ~/.cargo/
  - target
  - Cargo.lock
  - key: cargo-dev--${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
  - restore-keys: |
  - cargo-dev--${{ runner.os }}
  -
  # Ensure that all components are compilable.
  - name: Run cargo check for all targets
  run: cargo check --color always --all --all-targets
  @@ -354,18 +343,22 @@ jobs:
  - name: Install node dependencies
  shell: bash
  run: |
  - # This does not have any effect on windows.
  - npm config set prefix $HOME/npm
  yarn
  - npm i -g jest mocha
  - echo $HOME
  - echo $HOME/npm/bin >> $GITHUB_PATH
  + # I don't want to think deeply about this
  + yarn global add jest@27 mocha || \
  + yarn global add jest@27 mocha || \
  + yarn global add jest@27 mocha || \
  + yarn global add jest@27 mocha || \
  + yarn global add jest@27 mocha || \
  + yarn global add jest@27 mocha || \
  + yarn global add jest@27 mocha || \
  + yarn global add jest@27 mocha || true
  - name: Configure path (windows)
  shell: bash
  if: runner.os == 'Windows'
  run: |
  - echo 'C:\\npm\\prefix' >> $GITHUB_PATH
  + echo $(yarn global bin) >> $GITHUB_PATH
  - name: Verify dependencies
  shell: bash
  