File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 21
21
uses : actions/cache@v2
22
22
with :
23
23
path : node_modules
24
- key : ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
24
+ key : ${{ runner.os }}-node-modules- ${{ hashFiles('package-lock.json') }}
25
25
26
26
- name : NPM Install
27
27
if : steps.cache.outputs.cache-hit != 'true'
37
37
uses : actions/cache@v2
38
38
with :
39
39
path : node_modules
40
- key : ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
40
+ key : ${{ runner.os }}-node-modules- ${{ hashFiles('package-lock.json') }}
41
41
42
42
- name : Build
43
43
run : npm run build:ci
58
58
uses : actions/cache@v2
59
59
with :
60
60
path : node_modules
61
- key : ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
61
+ key : ${{ runner.os }}-node-modules- ${{ hashFiles('package-lock.json') }}
62
62
63
63
- name : Lint
64
64
run : npm run lint
81
81
uses : actions/cache@v2
82
82
with :
83
83
path : node_modules
84
- key : ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
84
+ key : ${{ runner.os }}-node-modules- ${{ hashFiles('package-lock.json') }}
85
85
86
86
- id : set-test-chunks
87
87
name : Set Chunks
@@ -111,7 +111,7 @@ jobs:
111
111
uses : actions/cache@v2
112
112
with :
113
113
path : node_modules
114
- key : ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
114
+ key : ${{ runner.os }}-node-modules- ${{ hashFiles('package-lock.json') }}
115
115
116
116
- name : Test
117
117
run : npm run test:ci -- $(echo $CHUNKS | jq -r '.[${{ matrix.chunk }}] | .[] | "--testPathPattern "+.')
You can’t perform that action at this time.
0 commit comments