@cypress/github-action 6.10.4 → 6.10.5
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 +4 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1200,22 +1200,20 @@ jobs:
|
|
|
1200
1200
|
|
|
1201
1201
|
### pnpm workspaces
|
|
1202
1202
|
|
|
1203
|
-
|
|
1203
|
+
The action does not directly support using [pnpm workspaces](https://pnpm.io/workspaces) (see feature request [#1144](https://github.com/cypress-io/github-action/issues/1144)). As a workaround, you can install dependencies and run Cypress tests in a workspace in separate steps. The snippet below shows this principle.
|
|
1204
1204
|
|
|
1205
1205
|
```yml
|
|
1206
1206
|
...
|
|
1207
1207
|
- name: Install dependencies
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
working-directory: examples/start-and-pnpm-workspaces
|
|
1211
|
-
runTests: false
|
|
1208
|
+
run: pnpm install --frozen-lockfile
|
|
1209
|
+
working-directory: examples/start-and-pnpm-workspaces
|
|
1212
1210
|
|
|
1213
1211
|
- name: Cypress test
|
|
1214
1212
|
uses: cypress-io/github-action@v6
|
|
1215
1213
|
with:
|
|
1216
1214
|
install: false
|
|
1217
1215
|
working-directory: examples/start-and-pnpm-workspaces/packages/workspace-1
|
|
1218
|
-
|
|
1216
|
+
...
|
|
1219
1217
|
```
|
|
1220
1218
|
|
|
1221
1219
|
[](.github/workflows/example-start-and-pnpm-workspaces.yml)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cypress/github-action",
|
|
3
|
-
"version": "6.10.
|
|
3
|
+
"version": "6.10.5",
|
|
4
4
|
"description": "GitHub Action for running Cypress end-to-end and component tests",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"eslint-plugin-cypress": "5.2.0",
|
|
62
62
|
"globals": "16.4.0",
|
|
63
63
|
"husky": "9.1.7",
|
|
64
|
-
"markdown-link-check": "3.14.
|
|
64
|
+
"markdown-link-check": "3.14.2",
|
|
65
65
|
"prettier": "3.6.2"
|
|
66
66
|
},
|
|
67
67
|
"publishConfig": {
|