@cypress/github-action 6.10.1 → 6.10.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.
Files changed (2) hide show
  1. package/README.md +10 -6
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -384,7 +384,7 @@ For more information, visit [the Cypress command-line docs](https://on.cypress.i
384
384
 
385
385
  ### Project
386
386
 
387
- Specify the [project to run](https://docs.cypress.io/guides/guides/command-line.html#cypress-run-project-lt-project-path-gt) with `project` parameter
387
+ Specify the [project to run](https://on.cypress.io/command-line#cypress-run-project-lt-project-path-gt) with the `project` parameter
388
388
 
389
389
  ```yml
390
390
  name: Cypress tests
@@ -399,10 +399,14 @@ jobs:
399
399
  - name: Cypress run
400
400
  uses: cypress-io/github-action@v6
401
401
  with:
402
- project: ./some/nested/folder
402
+ project: ./test-subdirectory
403
403
  ```
404
404
 
405
- For more information, visit [the Cypress command-line docs](https://on.cypress.io/command-line#cypress-run-project-lt-project-path-gt).
405
+ The `project` parameter may be used to pass on the location of a sub-directory containing a Cypress configuration file and Cypress tests specs. For more information, visit [the Cypress command-line docs](https://on.cypress.io/command-line#cypress-run-project-lt-project-path-gt).
406
+
407
+ A package manager lock file, including Cypress, must be provided in the root of the repository so that the action is able to [install Cypress](#installation).
408
+
409
+ If the parameter [working-directory](#working-directory) is also defined, then this is the location to place the package manager lock file, and the project directory would be a subdirectory of the [working-directory](#working-directory). The `project` parameter location may not be above the level of a specified [working-directory](#working-directory) in the file hierarchy.
406
410
 
407
411
  ### Record test results on Cypress Cloud
408
412
 
@@ -1091,8 +1095,8 @@ repo/
1091
1095
  fixtures/
1092
1096
  support/
1093
1097
  cypress.config.js
1094
- package.json
1095
- package-lock.json
1098
+ package.json
1099
+ package-lock.json
1096
1100
  ```
1097
1101
 
1098
1102
  We use `working-directory: app-test` to match the above example directory structure:
@@ -1574,7 +1578,7 @@ There is no equivalent action parameter for the CLI options `help`, `key`, `--no
1574
1578
 
1575
1579
  ### Installation
1576
1580
 
1577
- This action installs local dependencies using lock files. Ensure that exactly one type of lock file is used for each project or working-directory from the following supported package managers:
1581
+ This action installs local dependencies using lock files. Ensure that exactly one type of lock file is used at the root of the repo or in each working-directory of a monorepo from the following supported package managers:
1578
1582
 
1579
1583
  | Lock file | Package Manager | Installation command |
1580
1584
  | ------------------- | ------------------------------------------------------------------------------------------------ | -------------------------------- |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cypress/github-action",
3
- "version": "6.10.1",
3
+ "version": "6.10.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",
@@ -52,16 +52,16 @@
52
52
  "supports-color": "9.3.1"
53
53
  },
54
54
  "devDependencies": {
55
- "@eslint/js": "9.26.0",
56
- "@stylistic/eslint-plugin": "4.4.1",
57
- "@types/node": "22.13.10",
55
+ "@eslint/js": "9.31.0",
56
+ "@stylistic/eslint-plugin": "5.2.0",
57
+ "@types/node": "24.0.15",
58
58
  "@vercel/ncc": "0.38.1",
59
- "eslint": "9.26.0",
60
- "eslint-plugin-cypress": "4.3.0",
61
- "globals": "16.0.0",
59
+ "eslint": "9.31.0",
60
+ "eslint-plugin-cypress": "5.1.0",
61
+ "globals": "16.3.0",
62
62
  "husky": "9.1.7",
63
63
  "markdown-link-check": "3.13.7",
64
- "prettier": "3.5.3"
64
+ "prettier": "3.6.0"
65
65
  },
66
66
  "publishConfig": {
67
67
  "access": "public"