Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

Commit

Permalink
project(ci): cache dependencies based on package-lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
zidizei committed Dec 12, 2019
1 parent e8927a7 commit 57d0e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
uses: actions/cache@v1
with:
path: node_modules
key: npm-${{ hashFiles('**/yarn.lock') }}
key: npm-${{ hashFiles('**/package-lock.json') }}
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
Expand All @@ -31,7 +31,7 @@ jobs:
uses: actions/cache@v1
with:
path: node_modules
key: npm-${{ hashFiles('**/yarn.lock') }}
key: npm-${{ hashFiles('**/package-lock.json') }}
- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
Expand Down

0 comments on commit 57d0e6c

Please sign in to comment.