Skip to content

Commit

Permalink
fix: updated action to be backwards compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiubcn authored and Sergiu Bacanu committed Jun 7, 2022
1 parent 00d78c2 commit 255c997
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/example-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
with:
working-directory: examples/v9/chrome
browser: chrome
headed: true
headless: false

- uses: actions/upload-artifact@v2
with:
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ jobs:

### Headed

Run the browser in headed mode - as of Cypress v8.0 the `cypress run` executes tests in `headless` mode by default
Run the browser in headed or headless mode - as of Cypress v8.0 the `cypress run` command executes tests in `headless` mode by default

```yml
name: Chrome headed
Expand All @@ -164,7 +164,7 @@ jobs:
- uses: cypress-io/github-action@v4
with:
browser: chrome
headed: true
headless: false
```

### Docker image
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ inputs:
working-directory:
description: 'Working directory containing Cypress folder'
required: false
headed:
headless:
description: 'Whether or not to use headless mode'
required: false
spec:
Expand Down

0 comments on commit 255c997

Please sign in to comment.