find-cypress-specs 1.41.2 → 1.41.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/find.js +13 -6
- package/package.json +1 -1
package/bin/find.js
CHANGED
|
@@ -197,12 +197,19 @@ if (args['--test-counts']) {
|
|
|
197
197
|
}
|
|
198
198
|
if (args['--gha-summary']) {
|
|
199
199
|
debug('writing GitHub Actions summary')
|
|
200
|
-
const summary =
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
200
|
+
const summary = changedSpecs.length
|
|
201
|
+
? `Found that ${pluralize(
|
|
202
|
+
'spec',
|
|
203
|
+
changedSpecs.length,
|
|
204
|
+
true,
|
|
205
|
+
)} changed: ${changedSpecs.join(', ')}`
|
|
206
|
+
: 'No specs changed'
|
|
207
|
+
if (process.env.GITHUB_STEP_SUMMARY) {
|
|
208
|
+
core.summary.addRaw(summary).write()
|
|
209
|
+
} else {
|
|
210
|
+
console.log('GitHub summary')
|
|
211
|
+
console.log(summary)
|
|
212
|
+
}
|
|
206
213
|
}
|
|
207
214
|
|
|
208
215
|
if (args['--count']) {
|