@cypress/github-action 6.10.0 → 6.10.1
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 +24 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -31,6 +31,7 @@ The following examples demonstrate the actions' functions.
|
|
|
31
31
|
- Select [action version](#action-version)
|
|
32
32
|
- Run tests in a given [browser](#browser)
|
|
33
33
|
- using [Chrome](#chrome)
|
|
34
|
+
- using [Chrome for Testing](#chrome-for-testing)
|
|
34
35
|
- using [Firefox](#firefox)
|
|
35
36
|
- using [Edge](#edge)
|
|
36
37
|
- using [headed mode](#headed)
|
|
@@ -178,6 +179,29 @@ jobs:
|
|
|
178
179
|
|
|
179
180
|
[](.github/workflows/example-chrome.yml)
|
|
180
181
|
|
|
182
|
+
### Chrome for Testing
|
|
183
|
+
|
|
184
|
+
To install [Google Chrome for Testing](https://developer.chrome.com/blog/chrome-for-testing/), specify a partial or full numerical Chrome for Testing version using [browser-actions/setup-chrome](https://github.com/browser-actions/setup-chrome). Refer to [Chrome for Testing availability](https://googlechromelabs.github.io/chrome-for-testing/) for current versions or [JSON API endpoints](https://github.com/GoogleChromeLabs/chrome-for-testing#json-api-endpoints) for all available versions.
|
|
185
|
+
|
|
186
|
+
```yml
|
|
187
|
+
name: Chrome for Testing
|
|
188
|
+
on: push
|
|
189
|
+
jobs:
|
|
190
|
+
chrome:
|
|
191
|
+
runs-on: ubuntu-24.04
|
|
192
|
+
name: E2E on Chrome for Testing
|
|
193
|
+
steps:
|
|
194
|
+
- uses: actions/checkout@v4
|
|
195
|
+
- uses: browser-actions/setup-chrome@v1
|
|
196
|
+
with:
|
|
197
|
+
chrome-version: 137
|
|
198
|
+
- uses: cypress-io/github-action@v6
|
|
199
|
+
with:
|
|
200
|
+
browser: chrome-for-testing
|
|
201
|
+
```
|
|
202
|
+
|
|
203
|
+
[](.github/workflows/example-chrome-for-testing.yml)
|
|
204
|
+
|
|
181
205
|
### Firefox
|
|
182
206
|
|
|
183
207
|
```yml
|
|
@@ -1483,7 +1507,6 @@ jobs:
|
|
|
1483
1507
|
| --------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- |
|
|
1484
1508
|
| [cypress-io/cypress-example-kitchensink](https://github.com/cypress-io/cypress-example-kitchensink) | Runs every API command in Cypress using various CI platforms including GitHub Actions |
|
|
1485
1509
|
| [cypress-io/cypress-realworld-app](https://github.com/cypress-io/cypress-realworld-app) | A real-world example payment application. Uses GitHub Actions and CircleCI. |
|
|
1486
|
-
| [cypress-gh-action-monorepo](https://github.com/bahmutov/cypress-gh-action-monorepo) | Splits install and running tests commands, runs Cypress from sub-folder |
|
|
1487
1510
|
|
|
1488
1511
|
## Migration
|
|
1489
1512
|
|
package/dist/index.js
CHANGED
|
@@ -39393,7 +39393,7 @@ function expand(str, isTop) {
|
|
|
39393
39393
|
var isOptions = m.body.indexOf(',') >= 0;
|
|
39394
39394
|
if (!isSequence && !isOptions) {
|
|
39395
39395
|
// {a},b}
|
|
39396
|
-
if (m.post.match(
|
|
39396
|
+
if (m.post.match(/,(?!,).*\}/)) {
|
|
39397
39397
|
str = m.pre + '{' + m.body + escClose + m.post;
|
|
39398
39398
|
return expand(str);
|
|
39399
39399
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cypress/github-action",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.1",
|
|
4
4
|
"description": "GitHub Action for running Cypress end-to-end and component tests",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@eslint/js": "9.26.0",
|
|
56
|
-
"@stylistic/eslint-plugin": "4.4.
|
|
56
|
+
"@stylistic/eslint-plugin": "4.4.1",
|
|
57
57
|
"@types/node": "22.13.10",
|
|
58
58
|
"@vercel/ncc": "0.38.1",
|
|
59
59
|
"eslint": "9.26.0",
|