@@ -22,6 +22,7 @@ describe("getActionInput", () => {
22
22
INPUT_TOKEN : "token" ,
23
23
INPUT_USER : "user" ,
24
24
"INPUT_VERSION-PATTERN" : "\\d+\\.\\d+\\.\\d+-RC\\d+" ,
25
+ "INPUT_VERSION-PATTERN-ALL" : "false" ,
25
26
"INPUT_DRY-RUN" : "true" ,
26
27
INPUT_TYPE : "npm" ,
27
28
}
@@ -36,6 +37,7 @@ describe("getActionInput", () => {
36
37
user : "user" ,
37
38
organization : "" ,
38
39
type : PackageType . Npm ,
40
+ versionPatternAll : false ,
39
41
}
40
42
41
43
expect ( result ) . toEqual ( expected )
@@ -49,6 +51,7 @@ describe("getActionInput", () => {
49
51
INPUT_TOKEN : "token" ,
50
52
INPUT_USER : "user" ,
51
53
"INPUT_SEMVER-PATTERN" : "^1.0.0" ,
54
+ "INPUT_VERSION-PATTERN-ALL" : "false" ,
52
55
"INPUT_DRY-RUN" : "true" ,
53
56
INPUT_TYPE : "npm" ,
54
57
}
@@ -63,6 +66,7 @@ describe("getActionInput", () => {
63
66
user : "user" ,
64
67
organization : "" ,
65
68
type : PackageType . Npm ,
69
+ versionPatternAll : false ,
66
70
}
67
71
68
72
expect ( result ) . toEqual ( expected )
@@ -77,6 +81,7 @@ describe("getActionInput", () => {
77
81
INPUT_USER : "user" ,
78
82
INPUT_TYPE : "npm" ,
79
83
"INPUT_DRY-RUN" : "true" ,
84
+ "INPUT_VERSION-PATTERN-ALL" : "false" ,
80
85
}
81
86
82
87
const result = getActionInput ( )
@@ -88,6 +93,7 @@ describe("getActionInput", () => {
88
93
dryRun : true ,
89
94
user : "user" ,
90
95
organization : "" ,
96
+ versionPatternAll : false ,
91
97
}
92
98
93
99
expect ( result ) . toEqual ( expected )
@@ -169,6 +175,7 @@ describe("validateInput", () => {
169
175
dryRun : true ,
170
176
user : "user" ,
171
177
organization : "" ,
178
+ versionPatternAll : false ,
172
179
}
173
180
174
181
expect ( ( ) => {
@@ -185,6 +192,7 @@ describe("validateInput", () => {
185
192
user : "user" ,
186
193
organization : "" ,
187
194
type : PackageType . Npm ,
195
+ versionPatternAll : false ,
188
196
}
189
197
190
198
expect ( ( ) => {
@@ -203,6 +211,7 @@ describe("validateInput", () => {
203
211
user : "user" ,
204
212
organization : "" ,
205
213
type : PackageType . Npm ,
214
+ versionPatternAll : false ,
206
215
}
207
216
208
217
expect ( ( ) => {
@@ -219,6 +228,7 @@ describe("validateInput", () => {
219
228
dryRun : true ,
220
229
user : "user" ,
221
230
organization : "org" ,
231
+ versionPatternAll : false ,
222
232
}
223
233
224
234
expect ( ( ) => {
@@ -235,6 +245,7 @@ describe("validateInput", () => {
235
245
user : "user" ,
236
246
organization : "" ,
237
247
type : PackageType . Npm ,
248
+ versionPatternAll : false ,
238
249
}
239
250
240
251
expect ( ( ) => {
@@ -251,6 +262,7 @@ describe("validateInput", () => {
251
262
user : "user" ,
252
263
organization : "" ,
253
264
type : PackageType . Npm ,
265
+ versionPatternAll : false ,
254
266
}
255
267
256
268
expect ( ( ) => {
@@ -267,6 +279,7 @@ describe("validateInput", () => {
267
279
user : "user" ,
268
280
organization : "" ,
269
281
type : PackageType . Npm ,
282
+ versionPatternAll : false ,
270
283
}
271
284
272
285
expect ( ( ) => {
@@ -283,6 +296,7 @@ describe("validateInput", () => {
283
296
user : "user" ,
284
297
organization : "" ,
285
298
type : PackageType . Npm ,
299
+ versionPatternAll : false ,
286
300
}
287
301
288
302
expect ( ( ) => {
0 commit comments