From f65350056fd6c50e63e638b505f3ce465fda8100 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sat, 24 Jul 2021 21:13:15 +0530 Subject: [PATCH] ci: setup npm cache (#542) --- .github/workflows/nodejs.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 31c3223d..2c67467c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -33,6 +33,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: "npm" - name: Use latest NPM run: sudo npm i -g npm @@ -71,6 +72,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: "npm" - name: Use latest NPM on ubuntu/macos if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'