ci: add caching
This commit is contained in:
parent
eaa8a2cb50
commit
047ff1e447
1 changed files with 15 additions and 0 deletions
15
.github/workflows/pr_checks.yaml
vendored
15
.github/workflows/pr_checks.yaml
vendored
|
|
@ -78,6 +78,11 @@ jobs:
|
|||
path: core/node_modules
|
||||
key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }}
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: gui/node_modules
|
||||
key: ${{ runner.os }}-gui-node-modules-${{ hashFiles('gui/package-lock.json') }}
|
||||
|
||||
- name: Install gui dependencies
|
||||
run: |
|
||||
cd gui
|
||||
|
|
@ -107,6 +112,11 @@ jobs:
|
|||
path: core/node_modules
|
||||
key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }}
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: binary/node_modules
|
||||
key: ${{ runner.os }}-binary-node-modules-${{ hashFiles('binary/package-lock.json') }}
|
||||
|
||||
- name: Install binary dependencies
|
||||
run: |
|
||||
cd binary
|
||||
|
|
@ -136,6 +146,11 @@ jobs:
|
|||
path: core/node_modules
|
||||
key: ${{ runner.os }}-core-node-modules-${{ hashFiles('core/package-lock.json') }}
|
||||
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: extensions/vscode/node_modules
|
||||
key: ${{ runner.os }}-vscode-node-modules-${{ hashFiles('extensions/vscode/package-lock.json') }}
|
||||
|
||||
- name: Install vscode dependencies
|
||||
run: |
|
||||
cd extensions/vscode
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue