chore: add caching of downloaded modules
This commit is contained in:
parent
1d86019401
commit
15a6f88041
1 changed files with 19 additions and 0 deletions
|
@ -11,6 +11,25 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: https://git.aquila-consortium.org/guilhem_lavaux/setup-rust-toolchain-forge@v1.12.0-forge
|
- uses: https://git.aquila-consortium.org/guilhem_lavaux/setup-rust-toolchain-forge@v1.12.0-forge
|
||||||
|
|
||||||
|
- name: Cache Cargo
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: |
|
||||||
|
~/.cargo/registry
|
||||||
|
~/.cargo/git
|
||||||
|
target
|
||||||
|
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||||
|
|
||||||
|
|
||||||
|
- name: Cache npm dependencies
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: ~/.npm
|
||||||
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-node-
|
||||||
|
|
||||||
- run: npm install
|
- run: npm install
|
||||||
- run: npm run release
|
- run: npm run release
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue