Skip to content

Commit f9fa05c

Browse files
hopeful fix for running cypress in ci
1 parent e1a6023 commit f9fa05c

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,24 +52,14 @@ jobs:
5252
run: npm install -g pnpm@10
5353

5454
- name: Install dependencies
55-
# with Cypress GitHub Action.
56-
# Calling the Cypress GitHub Action causes all dependencies from
57-
# the root of the pnpm workspace examples/start-and-pnpm-workspaces
58-
# to be installed
59-
# AND it automatically caches the Cypress binary.
60-
uses: cypress-io/github-action@v6
55+
uses: ./
6156
with:
6257
working-directory: examples/start-and-pnpm-workspaces
6358
runTests: false
6459

6560
- name: Cypress tests
66-
# Run Cypress in examples/start-and-pnpm-workspaces/packages/workspace-1 only
67-
uses: cypress-io/github-action@v6
61+
uses: ./
6862
with:
69-
# Do not attempt to install dependencies in the workspace using the action.
70-
# There is no pnpm-lock.yaml file in a workspace for
71-
# Cypress GitHub Action to use.
72-
# We already installed dependencies when we called the action previously.
7363
install: false
7464
working-directory: examples/start-and-pnpm-workspaces/packages/workspace-1
7565
start: pnpm start

0 commit comments

Comments
 (0)