@cypress/github-action 6.9.2 → 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 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
  [![Chrome example](https://github.com/cypress-io/github-action/actions/workflows/example-chrome.yml/badge.svg)](.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
+ [![Chrome for Testing example](https://github.com/cypress-io/github-action/actions/workflows/example-chrome-for-testing.yml/badge.svg)](.github/workflows/example-chrome-for-testing.yml)
204
+
181
205
  ### Firefox
182
206
 
183
207
  ```yml
@@ -529,7 +553,7 @@ jobs:
529
553
  # let's make sure our "app" works on several versions of Node
530
554
  strategy:
531
555
  matrix:
532
- node: [20, 22, 23, 24]
556
+ node: [20, 22, 24]
533
557
  name: E2E on Node v${{ matrix.node }}
534
558
  steps:
535
559
  - name: Setup Node
@@ -1310,7 +1334,7 @@ jobs:
1310
1334
  # let's make sure our "app" works on several versions of Node
1311
1335
  strategy:
1312
1336
  matrix:
1313
- node: [20, 22, 23, 24]
1337
+ node: [20, 22, 24]
1314
1338
  name: E2E on Node v${{ matrix.node }}
1315
1339
  steps:
1316
1340
  - name: Setup Node
@@ -1344,7 +1368,7 @@ jobs:
1344
1368
  runs-on: ubuntu-24.04
1345
1369
  strategy:
1346
1370
  matrix:
1347
- node: [20, 22, 23, 24]
1371
+ node: [20, 22, 24]
1348
1372
  name: E2E on Node v${{ matrix.node }}
1349
1373
  steps:
1350
1374
  - uses: actions/setup-node@v4
@@ -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
 
@@ -1812,7 +1835,7 @@ jobs:
1812
1835
 
1813
1836
  Node.js is required to run this action. The recommended version `v6` supports:
1814
1837
 
1815
- - **Node.js** 20.x, 22.x, 23.x and 24.x
1838
+ - **Node.js** 20.x, 22.x and 24.x
1816
1839
 
1817
1840
  and is generally aligned with [Node.js's release schedule](https://github.com/nodejs/Release).
1818
1841
 
@@ -1831,6 +1854,7 @@ View the [CHANGELOG](./CHANGELOG.md) document for an overview of version changes
1831
1854
  ## Compatibility
1832
1855
 
1833
1856
  - `github-action@v6` is the current recommended version, uses `node20` and is compatible with Cypress `10` and above.
1857
+ - `github-action@v6.7.9` is the minimum version required to use GitHub Actions caching services. The legacy caching service used by lower versions of the action is no longer available.
1834
1858
  - `github-action` versions `v1` to `v5` are unsupported: they rely on Node.js `12` and `16` in End-of-life status.
1835
1859
 
1836
1860
  ## Contributing
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.9.2",
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.2.0",
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",