cache node_modules on GH actions

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen committed 2021-04-13 06:52:32 +03:00
1 parent 2bba0d578b
commit 94b229bc3c
1 file changed
+6
+6
View File
@@ -20,6 +20,12 @@ jobs:
with:
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
name: Install dependencies