Skip to content

Commit 4e89bdc

Browse files
committed
give an example of hiding GH summary for #340
1 parent 130e43a commit 4e89bdc

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,16 @@ $ npx cypress run --env splitFile=timings.json,splitOutputFile=output.json
371371

372372
To skip GitHub Actions summary, set an environment variable `SPLIT_SUMMARY=false`. By default, this plugin generates the summary.
373373

374+
```yml
375+
- name: No GH Action summary output
376+
uses: cypress-io/github-action@v6
377+
env:
378+
SPLIT: 2
379+
SPLIT_INDEX: 1
380+
# do not write summary to github
381+
SPLIT_SUMMARY: false
382+
```
383+
374384
## Split component specs
375385
376386
Works the same way as splitting E2E specs. Add this plugin to the `setupNodeEvents` callback in the `component` object in the config. See [cypress.config.js](./cypress.config.js) for example:

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
},
6262
"devDependencies": {
6363
"ava": "^6.1.0",
64-
"cypress": "^13.3.0",
64+
"cypress": "^13.16.0",
6565
"prettier": "^3.0.3",
6666
"react": "^19.0.0",
6767
"react-dom": "^19.0.0",

0 commit comments

Comments
 (0)