Skip to content

Commit

Permalink
chore: fix CI config
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Sep 2, 2023
1 parent 3687fd7 commit f2d793a
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .circleci/workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ commands:
server-start-command:
description: Server start command for repo
type: string
default: "CI=true yarn start"
default: "CI=true yarn --ignore-engines start"
steps:
- clone-repo-and-checkout-branch:
repo: <<parameters.repo>>
Expand Down Expand Up @@ -824,7 +824,7 @@ commands:
- run:
name: Types check 🧩 (maybe)
working_directory: /tmp/<<parameters.repo>>
command: yarn types --ignore-engines
command: yarn --ignore-engines types
- run:
working_directory: /tmp/<<parameters.repo>>
command: <<parameters.server-start-command>>
Expand Down Expand Up @@ -2262,15 +2262,15 @@ jobs:
- run:
name: Verify Cypress binary
working_directory: test-binary
command: $(npm bin)/cypress verify
command: npx cypress verify
- run:
name: Print Cypress version
working_directory: test-binary
command: $(npm bin)/cypress version
command: npx cypress version
- run:
name: Cypress info
working_directory: test-binary
command: $(npm bin)/cypress info
command: npx cypress info

test-types-cypress-and-jest:
parameters:
Expand Down Expand Up @@ -2374,20 +2374,23 @@ jobs:
- test-binary-against-repo:
repo: cypress-example-recipes
command: npm run test:ci:firefox
browser: firefox

test-binary-against-recipes-chrome:
<<: *defaults
steps:
- test-binary-against-repo:
repo: cypress-example-recipes
command: npm run test:ci:chrome
browser: chrome

test-binary-against-recipes:
<<: *defaults
steps:
- test-binary-against-repo:
repo: cypress-example-recipes
command: npm run test:ci
browser: electron

# This is a special job. It allows you to test the current
# built test runner against a pull request in the repo
Expand Down Expand Up @@ -2415,7 +2418,7 @@ jobs:
steps:
- test-binary-against-repo:
repo: cypress-example-kitchensink
browser: "electron"
browser: electron

test-binary-against-kitchensink-firefox:
<<: *defaults
Expand Down

0 comments on commit f2d793a

Please sign in to comment.