Skip to content

Commit 201272b

Browse files
authored
[chore] add 'npm' cache for actions/setup-node in .github/workflows (#190)
Fixes #192
1 parent fb59705 commit 201272b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ${{ matrix.os }}
66
strategy:
77
matrix:
8-
node-version: [ '10', '12', '14' ]
8+
node-version: ["10", "12", "14"]
99
os: [ubuntu-latest, windows-latest]
1010
name: Test on Node v${{ matrix.node-version }} on ${{ matrix.os }}
1111
steps:
@@ -14,6 +14,7 @@ jobs:
1414
uses: actions/setup-node@v2
1515
with:
1616
node-version: ${{ matrix.node-version }}
17+
cache: npm
1718
- run: npm install
1819
- run: npm run all
1920
env:

0 commit comments

Comments
 (0)