Add node_modules to cache action
parent
7100376d8f
commit
d823308b7b
|
@ -20,6 +20,12 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Cache node_modules
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: node_modules/
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
@ -62,6 +68,12 @@ jobs:
|
||||||
path: cache/
|
path: cache/
|
||||||
key: ${{ runner.os }}-${{ hashFiles('gulpfile.js') }}
|
key: ${{ runner.os }}-${{ hashFiles('gulpfile.js') }}
|
||||||
|
|
||||||
|
- name: Cache node_modules
|
||||||
|
uses: actions/cache@v3
|
||||||
|
with:
|
||||||
|
path: node_modules/
|
||||||
|
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue