@cypress/github-action 5.7.1 → 5.7.2
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/README.md +3 -3
- package/action.yml +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -345,7 +345,7 @@ jobs:
|
|
|
345
345
|
|
|
346
346
|
[](.github/workflows/example-recording.yml)
|
|
347
347
|
|
|
348
|
-
**Tip 1:** We recommend using the action with `on: [push]` instead of `on: [pull_request]` to get the most accurate information related to the commit on
|
|
348
|
+
**Tip 1:** We recommend using the action with `on: [push]` instead of `on: [pull_request]` to get the most accurate information related to the commit on Cypress Cloud. With pull requests, the merge commit is created automatically and might not correspond to a meaningful commit in the repository.
|
|
349
349
|
|
|
350
350
|
**Tip 2:** we recommend passing the `GITHUB_TOKEN` secret (created by the GH Action automatically) as an environment variable. This will allow correctly identifying every build and avoid confusion when re-running a build.
|
|
351
351
|
|
|
@@ -554,7 +554,7 @@ jobs:
|
|
|
554
554
|
|
|
555
555
|
### Parallel
|
|
556
556
|
|
|
557
|
-
**Note:** Cypress parallelization requires a [Cypress Cloud](https://on.cypress.io/
|
|
557
|
+
**Note:** Cypress parallelization requires a [Cypress Cloud](https://on.cypress.io/cloud-introduction) account.
|
|
558
558
|
|
|
559
559
|
You can spin multiple containers running in parallel using `strategy: matrix` argument. Just add more dummy items to the `containers: [1, 2, ...]` array to spin more free or paid containers. Then use `record` and `parallel` parameters to [load balance tests](https://on.cypress.io/parallelization).
|
|
560
560
|
|
|
@@ -1357,7 +1357,7 @@ If you add `workflow_dispatch` event to your workflow, you will be able to start
|
|
|
1357
1357
|
|
|
1358
1358
|
### Outputs
|
|
1359
1359
|
|
|
1360
|
-
This action sets a GitHub step output `dashboardUrl` if the run was recorded on [Cypress Cloud](https://on.cypress.io/
|
|
1360
|
+
This action sets a GitHub step output `dashboardUrl` if the run was recorded on [Cypress Cloud](https://on.cypress.io/cloud-introduction) using the action parameter setting `record: true` (see [Record test results on Cypress Cloud](#record-test-results-on-cypress-cloud)). Note that using a [Custom test command](#custom-test-command) with the `command` parameter overrides the `record` parameter and in this case no `dashboardUrl` step output is saved.
|
|
1361
1361
|
|
|
1362
1362
|
This is an example of using the step output `dashboardUrl`:
|
|
1363
1363
|
|
package/action.yml
CHANGED
|
@@ -4,7 +4,7 @@ description: 'GitHub Action for running Cypress end-to-end and component tests'
|
|
|
4
4
|
author: 'Cypress-io'
|
|
5
5
|
inputs:
|
|
6
6
|
record:
|
|
7
|
-
description: 'Sends test results to Cypress
|
|
7
|
+
description: 'Sends test results to Cypress Cloud'
|
|
8
8
|
required: false
|
|
9
9
|
default: false
|
|
10
10
|
auto-cancel-after-failures:
|
package/dist/index.js
CHANGED
|
@@ -75180,7 +75180,7 @@ const generateSummary = async (testResults) => {
|
|
|
75180
75180
|
.addHeading('Cypress Results', 2)
|
|
75181
75181
|
.addTable([headers, summaryRows])
|
|
75182
75182
|
.addLink(
|
|
75183
|
-
testResults.runUrl ? 'View
|
|
75183
|
+
testResults.runUrl ? 'View run in Cypress Cloud' : '',
|
|
75184
75184
|
testResults.runUrl || ''
|
|
75185
75185
|
)
|
|
75186
75186
|
.write()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cypress/github-action",
|
|
3
|
-
"version": "5.7.
|
|
3
|
+
"version": "5.7.2",
|
|
4
4
|
"description": "GitHub Action for running Cypress end-to-end and component tests",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"supports-color": "9.3.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@types/node": "18.16.
|
|
49
|
+
"@types/node": "18.16.5",
|
|
50
50
|
"@vercel/ncc": "0.36.1",
|
|
51
51
|
"husky": "8.0.3",
|
|
52
52
|
"markdown-link-check": "3.11.1",
|