File tree 1 file changed +3
-21
lines changed
1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change 23
23
uses : actions/setup-node@v2.3.0
24
24
with :
25
25
node-version : ${{steps.node.outputs.version}}
26
- - name : Set up cache
27
- uses : actions/cache@v2.1.6
28
- id : cache
29
- with :
30
- path : ' **/node_modules'
31
- key : npm-${{hashFiles('**/package-lock.json')}}
26
+ cache : npm
32
27
- name : Install packages
33
- if : steps.cache.outputs.cache-hit != 'true'
34
28
run : npm ci
35
29
- name : Run lint (JavaScript)
36
30
run : npm run lint:js
52
46
uses : actions/setup-node@v2.3.0
53
47
with :
54
48
node-version : ${{steps.node.outputs.version}}
55
- - name : Set up cache
56
- uses : actions/cache@v2.1.6
57
- id : cache
58
- with :
59
- path : ' **/node_modules'
60
- key : npm-${{hashFiles('**/package-lock.json')}}
49
+ cache : npm
61
50
- name : Install packages
62
- if : steps.cache.outputs.cache-hit != 'true'
63
51
run : npm ci
64
52
- name : Run tests (unit)
65
53
run : npm run test:unit
83
71
uses : actions/setup-node@v2.3.0
84
72
with :
85
73
node-version : ${{steps.node.outputs.version}}
86
- - name : Set up cache
87
- uses : actions/cache@v2.1.6
88
- id : cache
89
- with :
90
- path : ' **/node_modules'
91
- key : npm-${{hashFiles('**/package-lock.json')}}
74
+ cache : npm
92
75
- name : Install packages
93
- if : steps.cache.outputs.cache-hit != 'true'
94
76
run : npm ci
95
77
- name : Run build
96
78
run : npm run build
You can’t perform that action at this time.
0 commit comments