From 28a1a71d89f6ce2e2f82cd24d85611606b6fafab Mon Sep 17 00:00:00 2001 From: Randall Morey Date: Wed, 8 Jul 2020 16:53:43 -0400 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=8E=A1=20cache=20node=5Fmodules=20i?= =?UTF-8?q?n=20CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/monorepo-validate.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/monorepo-validate.yaml b/.github/workflows/monorepo-validate.yaml index f6e52ae2d..25468499f 100644 --- a/.github/workflows/monorepo-validate.yaml +++ b/.github/workflows/monorepo-validate.yaml @@ -7,6 +7,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: **/node_modules + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x' @@ -18,6 +23,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: **/node_modules + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x' @@ -29,6 +39,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: **/node_modules + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x' @@ -40,6 +55,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/cache@v2 + id: cache + with: + path: **/node_modules + key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} - uses: actions/setup-node@v1 with: node-version: '12.x'