Cache ~/.electron-gyp in CI

This commit is contained in:
Fedor Indutny
2025-02-25 12:46:22 -08:00
committed by GitHub
parent 6f9438c74f
commit 18f81fd0aa
3 changed files with 35 additions and 4 deletions

View File

@@ -24,6 +24,11 @@ jobs:
node-version-file: '.nvmrc'
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- name: Cache .electron-gyp
uses: actions/cache@v4
with:
path: ~/.electron-gyp
key: electron-gyp-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }}
- name: Setup sccache
uses: mozilla-actions/sccache-action@v0.0.7