forked from cypress-io/github-action
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9895d09
commit 553e1e4
Showing
1 changed file
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,25 @@ | ||
name: example-docker | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'master' | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
cypress-run: | ||
docker-browsers: | ||
runs-on: ubuntu-22.04 | ||
# Cypress Docker image with Chrome v106 | ||
# and Firefox v106 pre-installed | ||
container: cypress/browsers:node18.12.0-chrome106-ff106 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
browser: [chrome, edge, electron, firefox] | ||
# from https://hub.docker.com/r/cypress/browsers/tags | ||
container: | ||
image: cypress/browsers:node-20.5.0-chrome-114.0.5735.133-1-ff-114.0.2-edge-114.0.1823.51-1 | ||
options: --user 1001 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: cypress-io/github-action@v5 | ||
- uses: cypress-io/github-action@v6 | ||
with: | ||
browser: chrome | ||
working-directory: examples/basic | ||
browser: ${{ matrix.browser }} |