File tree Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Expand file tree Collapse file tree 1 file changed +6
-24
lines changed Original file line number Diff line number Diff line change 37
37
uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
38
38
with :
39
39
node-version : ${{ env.NODE_VERSION }}
40
-
41
- - name : Cache
42
- uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
43
- with :
44
- path : ~/.npm
45
- key : ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
46
- restore-keys : |
47
- ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-
40
+ cache : npm
41
+ cache-dependency-path : ' **/package-lock.json'
48
42
49
43
- name : Set download URL for Firefox ESR (old)
50
44
run : |
92
86
uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
93
87
with :
94
88
node-version : ${{ env.NODE_VERSION }}
95
-
96
- - name : Cache
97
- uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
98
- with :
99
- path : ~/.npm
100
- key : ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
101
- restore-keys : |
102
- ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-
89
+ cache : npm
90
+ cache-dependency-path : ' **/package-lock.json'
103
91
104
92
- name : Install dependencies
105
93
run : npm install
@@ -121,14 +109,8 @@ jobs:
121
109
uses : actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
122
110
with :
123
111
node-version : ${{ env.NODE_VERSION }}
124
-
125
- - name : Cache
126
- uses : actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
127
- with :
128
- path : ~/.npm
129
- key : ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-${{ hashFiles('**/package-lock.json') }}
130
- restore-keys : |
131
- ${{ runner.os }}-node-${{ env.NODE_VERSION }}-npm-lock-
112
+ cache : npm
113
+ cache-dependency-path : ' **/package-lock.json'
132
114
133
115
- name : Install dependencies
134
116
run : npm install
You can’t perform that action at this time.
0 commit comments