File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 16
16
- uses : actions/cache@v3
17
17
with :
18
18
path : ~/.npm # this is cache where npm installs from before going out to the network
19
- key : ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
19
+ key : ${{ runner.os }}-node-${{ hashFiles('package.json', ' **/package.json') }}
20
20
- name : Use Node.js ${{ matrix.node-version }}
21
21
uses : actions/setup-node@v3
22
22
with :
32
32
- uses : actions/cache@v3
33
33
with :
34
34
path : ~/.npm # this is cache where npm installs from before going out to the network
35
- key : ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
35
+ key : ${{ runner.os }}-node-${{ hashFiles('package.json', ' **/package.json') }}
36
36
- name : Use Node.js ${{ matrix.node-version }}
37
37
uses : actions/setup-node@v3
38
38
with :
48
48
- uses : actions/cache@v3
49
49
with :
50
50
path : ~/.npm # this is cache where npm installs from before going out to the network
51
- key : ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
51
+ key : ${{ runner.os }}-node-${{ hashFiles('package.json', ' **/package.json') }}
52
52
- run : npm install --prefer-offline
53
53
- run : make lint
54
54
60
60
- uses : actions/cache@v3
61
61
with :
62
62
path : ~/.npm # this is cache where npm installs from before going out to the network
63
- key : ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
63
+ key : ${{ runner.os }}-node-${{ hashFiles('package.json', ' **/package.json') }}
64
64
- run : npm install --prefer-offline
65
65
- run : make typecheck
Original file line number Diff line number Diff line change 34
34
uses : actions/cache@v3
35
35
with :
36
36
path : ~/.npm # this is cache where npm installs from before going out to the network
37
- key : ${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
37
+ key : ${{ runner.os }}-node-${{ hashFiles('package.json', ' **/package.json') }}
38
38
- name : Install dependencies
39
39
if : steps.cacheModules.outputs.cache-hit != 'true'
40
40
run : npm install
You can’t perform that action at this time.
0 commit comments