Skip to content

Commit

Permalink
feat: add browser parameter, closes #22
Browse files Browse the repository at this point in the history
  • Loading branch information
bahmutov committed Nov 16, 2019
1 parent 48c7738 commit 3732300
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,25 @@ jobs:
uses: cypress-io/github-action@v1
```
### Browser
Specify the browser name or path with `browser` parameter

```yml
name: E2E on Chrome
on: [push]
jobs:
cypress-run:
runs-on: ubuntu-latest
# let's make sure our tests pass on Chrome browser
name: E2E on Chrome
steps:
- uses: actions/checkout@v1
- uses: cypress-io/github-action@v1
with:
browser: chrome
```

### Record test results on Cypress Dashboard

```yml
Expand Down Expand Up @@ -193,9 +212,9 @@ jobs:

### More examples

| Name | Description |
| ---------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [cypress-gh-action-example](https://github.com/bahmutov/cypress-gh-action-example) | Uses Yarn, and runs in parallel on several versions of Node |
| Name | Description |
| ---------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [cypress-gh-action-example](https://github.com/bahmutov/cypress-gh-action-example) | Uses Yarn, and runs in parallel on several versions of Node, also different browsers |

## Notes

Expand Down

0 comments on commit 3732300

Please sign in to comment.