mirror of
https://github.com/bitwarden/desktop.git
synced 2024-11-24 11:55:50 +01:00
cache stuff
This commit is contained in:
parent
0bcb4c100a
commit
59cda84d07
42
.github/workflows/build.yml
vendored
42
.github/workflows/build.yml
vendored
@ -56,6 +56,20 @@ jobs:
|
||||
run: ./.github/scripts/load-version.ps1
|
||||
shell: pwsh
|
||||
|
||||
- name: Cache node_modules
|
||||
id: cache-node-modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: node_modules
|
||||
key: node-modules-lin-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Cache electron-gyp
|
||||
id: cache-electron-gyp
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.electron-gyp
|
||||
key: electron-gyp-lin-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Install Node dependencies
|
||||
run: npm install
|
||||
|
||||
@ -119,6 +133,20 @@ jobs:
|
||||
run: ./.github/scripts/load-version.ps1
|
||||
shell: pwsh
|
||||
|
||||
- name: Cache node_modules
|
||||
id: cache-node-modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: node_modules
|
||||
key: node-modules-win-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Cache electron-gyp
|
||||
id: cache-electron-gyp
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.electron-gyp
|
||||
key: electron-gyp-win-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Install Node dependencies
|
||||
run: npm install
|
||||
|
||||
@ -209,6 +237,20 @@ jobs:
|
||||
run: ./.github/scripts/load-version.ps1
|
||||
shell: pwsh
|
||||
|
||||
- name: Cache node_modules
|
||||
id: cache-node-modules
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: node_modules
|
||||
key: node-modules-mac-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Cache electron-gyp
|
||||
id: cache-electron-gyp
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.electron-gyp
|
||||
key: electron-gyp-mac-${{ hashFiles('package-lock.json') }}
|
||||
|
||||
- name: Install Node dependencies
|
||||
run: npm install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user