From 563b5723b17e7e1f12d6fe2a70fd9ee05a308949 Mon Sep 17 00:00:00 2001 From: doug-martin Date: Tue, 19 May 2020 17:43:47 -0500 Subject: [PATCH] chore(): Add github actions caching --- .github/workflows/test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 33eafaee..023d88e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,6 +19,13 @@ jobs: uses: actions/setup-node@v1 with: node-version: ${{ matrix.node-version }} + - name: Restore Dependencies + uses: actions/cache@v1 + with: + path: ~/.npm + key: ${{ runner.os }}-node-${{matrix.node-version}}-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node-${{matrix.node-version}}- - run: npm ci - run: npm run bootstrap - run: npm test