mirror of
https://github.com/actions/cache.git
synced 2024-11-15 17:23:51 +08:00
Update README.md
This commit is contained in:
parent
6be35d19ef
commit
d676b6c354
@ -35,11 +35,13 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
|
||||
- name: Cache node_modules
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@preview
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-node-
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install
|
||||
|
Loading…
Reference in New Issue
Block a user