Skip to content

Commit 03d9d96

Browse files
authored
ci: setup npm cache (#156)
1 parent 9ebebaa commit 03d9d96

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/nodejs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ jobs:
3333
uses: actions/setup-node@v2
3434
with:
3535
node-version: ${{ matrix.node-version }}
36+
cache: "npm"
3637

3738
- name: Use latest NPM
3839
run: sudo npm i -g npm
@@ -71,6 +72,7 @@ jobs:
7172
uses: actions/setup-node@v2
7273
with:
7374
node-version: ${{ matrix.node-version }}
75+
cache: "npm"
7476

7577
- name: Use latest NPM on ubuntu/macos
7678
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macos-latest'

0 commit comments

Comments
 (0)