message: ci(app): cache yarn for app builds
diff: @@ -124,6 +124,17 @@ jobs:
  script: |
  const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)
  buildComplexEnvVars(core, context)
  + - name: 'cache yarn cache'
  + uses: actions/cache@v3
  + with:
  + path: |
  + ${{ github.workspace }}/.npm-cache/_prebuild
  + ${{ github.workspace }}/.yarn-cache
  + key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
  + - name: setup-js
  + run: |
  + npm config set cache ${{ github.workspace }}/.npm-cache
  + yarn config set cache-folder ${{ github.workspace }}/.yarn-cache
  - name: setup-js
  run: |
  make setup-js
  @@ -195,6 +206,13 @@ jobs:
  script: |
  const { buildComplexEnvVars } = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/utils.js`)
  buildComplexEnvVars(core, context)
  + - name: 'cache yarn cache'
  + uses: actions/cache@v3
  + with:
  + path: |
  + ${{ github.workspace }}/.npm-cache/_prebuild
  + ${{ github.workspace }}/.yarn-cache
  + key: js-${{ secrets.GH_CACHE_VERSION }}-${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
  - name: setup-js
  run: |
  npm config set cache ${{ github.workspace }}/.npm-cache
  