From 26c1511ee838a2cce2672154bc94b497648f146c Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 19 Mar 2021 15:07:47 +1100 Subject: [PATCH] Cache npm cache in GitHub CI --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 679bb6b9cd..6f3f6bd6a2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -44,6 +44,12 @@ jobs: with: node-version: '14' + - name: Cache npm cache + uses: actions/cache@v2 + with: + path: ~/.npm + key: node-v1-${{ hashFiles('**/package-lock.json') }} + - name: install using npm ci uses: bahmutov/npm-install@v1