Skip to content

Commit

Permalink
ci: setup npm cache (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 authored Jul 24, 2021
1 parent 7c5b15f commit 5ebdc5f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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'
Expand Down

0 comments on commit 5ebdc5f

Please sign in to comment.