message: Save yarn cache dir between builds
diff: @@ -22,6 +22,22 @@ jobs:
  with:
  node-version: 15
  + - name: Get yarn cache directory path
  + id: yarn-cache-dir-path
  + run: echo "::set-output name=dir::$(yarn cache dir)"
  +
  + - uses: actions/cache@v1
  + id: yarn-cache
  + with:
  + path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
  + key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
  + restore-keys: |
  + ${{ runner.os }}-yarn-
  +
  + - name: Install dependencies
  + run: |
  + yarn install --prefer-offline
  +
  - name: Install dependencies
  run: |
  yarn install
  