From 749f01b271b6760b5ad0396bac3c751532948d23 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Tue, 23 Feb 2021 12:15:33 +0100 Subject: [PATCH] Cache node_modules --- .github/workflows/validate-typescript.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/validate-typescript.yml b/.github/workflows/validate-typescript.yml index 28d66e3..97b807c 100644 --- a/.github/workflows/validate-typescript.yml +++ b/.github/workflows/validate-typescript.yml @@ -5,6 +5,12 @@ jobs: runs-on: ubuntu-latest steps: - 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 run: yarn - name: Install modules (example/)