mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
cache node_modules on GH actions
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
2bba0d578b
commit
94b229bc3c
6
.github/workflows/test.yml
vendored
6
.github/workflows/test.yml
vendored
@ -20,6 +20,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
|
- name: Cache node_modules
|
||||||
|
uses: actions/cache@v2
|
||||||
|
with:
|
||||||
|
path: '**/node_modules'
|
||||||
|
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
|
||||||
|
|
||||||
- run: make node_modules
|
- run: make node_modules
|
||||||
name: Install dependencies
|
name: Install dependencies
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user