|
|
@ -36,7 +36,7 @@ jobs:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
|
|
|
|
- name: Cache node modules
|
|
|
|
- name: Cache node modules
|
|
|
|
uses: actions/cache@preview
|
|
|
|
uses: actions/cache@v0.0.1
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: node_modules
|
|
|
|
path: node_modules
|
|
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
|
|
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
|
|
@ -70,7 +70,7 @@ Example:
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
|
|
|
|
|
|
|
|
- uses: actions/cache@preview
|
|
|
|
- uses: actions/cache@v0.0.1
|
|
|
|
id: cache
|
|
|
|
id: cache
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: path/to/dependencies
|
|
|
|
path: path/to/dependencies
|
|
|
|