Skip to content

Commit

Permalink
ci: Cache npm dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
relrelb authored and Herschel committed Jan 12, 2022
1 parent 7f4f406 commit c4d013c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/test_web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
cache: npm
cache-dependency-path: web/package-lock.json

# Node.js 14 comes with npm 6, but we need npm 7 or newer.
- name: Upgrade npm
Expand Down

0 comments on commit c4d013c

Please sign in to comment.