From 201272bb5554c5cbb13c32c09d166095a1ff7f65 Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Thu, 2 Jun 2022 21:27:46 +0200 Subject: [PATCH] [chore] add 'npm' cache for actions/setup-node in .github/workflows (#190) Fixes #192 --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13577f68..de21aab3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - node-version: [ '10', '12', '14' ] + node-version: ["10", "12", "14"] os: [ubuntu-latest, windows-latest] name: Test on Node v${{ matrix.node-version }} on ${{ matrix.os }} steps: @@ -14,6 +14,7 @@ jobs: uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} + cache: npm - run: npm install - run: npm run all env: