find-cypress-specs 1.41.3 → 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 +7 -5
- package/package.json +1 -1
package/bin/find.js
CHANGED
|
@@ -197,11 +197,13 @@ 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
|
-
|
|
200
|
+
const summary = changedSpecs.length
|
|
201
|
+
? `Found that ${pluralize(
|
|
202
|
+
'spec',
|
|
203
|
+
changedSpecs.length,
|
|
204
|
+
true,
|
|
205
|
+
)} changed: ${changedSpecs.join(', ')}`
|
|
206
|
+
: 'No specs changed'
|
|
205
207
|
if (process.env.GITHUB_STEP_SUMMARY) {
|
|
206
208
|
core.summary.addRaw(summary).write()
|
|
207
209
|
} else {
|