Cache node_modules

This commit is contained in:
Marc Rousavy 2021-02-23 12:15:33 +01:00
parent e74e232043
commit 749f01b271

View File

@ -5,6 +5,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install modules - name: Install modules
run: yarn run: yarn
- name: Install modules (example/) - name: Install modules (example/)