diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 612f7fb..84b146e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -43,6 +43,8 @@ jobs: with: check-latest: true node-version-file: .nvmrc + cache: ${{ startswith(vars.BUILD_PLATFORM, 'self-hosted') && null || 'yarn' }} + cache-dependency-path: ${{ startswith(vars.BUILD_PLATFORM, 'self-hosted') && null || env.CACHE_DEP_PATH }} - name: Install Wine on Hosted Runners if: ${{ !startswith(vars.BUILD_PLATFORM, 'self-hosted') }}