Skip to content

Commit

Permalink
ci: setup npm cache (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersachin3112 authored Apr 25, 2023
1 parent 226a850 commit fe8f891
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 @@ -40,6 +40,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Use latest NPM
run: sudo npm i -g npm
Expand Down Expand Up @@ -82,6 +83,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm ci --force
Expand Down

0 comments on commit fe8f891

Please sign in to comment.