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 14
14
- uses : actions/setup-node@v4
15
15
with :
16
16
node-version : " lts/*"
17
- - name : Cache modules
18
- uses : actions/cache@v2
19
- with :
20
- path : ~/.npm
21
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
22
- restore-keys : |
23
- ${{ runner.os }}-node-
17
+ cache : " npm"
24
18
- name : Install dependencies
25
19
run : |
26
20
npm ci
40
34
- uses : actions/setup-node@v4
41
35
with :
42
36
node-version : " lts/*"
43
- - name : Cache npm
44
- uses : actions/cache@v2
45
- with :
46
- path : ~/.npm
47
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
48
- restore-keys : |
49
- ${{ runner.os }}-node-
37
+ cache : " npm"
50
38
- name : Install dependencies
51
39
run : |
52
40
npm ci
71
59
uses : actions/setup-node@v4
72
60
with :
73
61
node-version : ${{ matrix.node-version }}
74
- - name : Cache modules
75
- uses : actions/cache@v2
76
- with :
77
- path : ~/.npm
78
- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
79
- restore-keys : |
80
- ${{ runner.os }}-node-
62
+ cache : " npm"
81
63
- name : Install dependencies
82
64
run : |
83
65
npm ci
You can’t perform that action at this time.
0 commit comments