Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 16fb869

Browse files
ci: setup npm cache (#55)
Co-authored-by: Alexander Akait <[email protected]>
1 parent 02ac49c commit 16fb869

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 0 deletions
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)