Skip to content

Commit

Permalink
ci: run E2E on multiple browsers
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Kwong committed Feb 14, 2024
1 parent 3b6dcb9 commit 1d2d15d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ jobs:
e2e-chrome:
if: github.event.deployment_status.state == 'success'
runs-on: ubuntu-latest
strategy:
matrix:
browser: [chrome, edge, firefox, webkit]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -14,6 +17,6 @@ jobs:
- run: npm ci
- uses: cypress-io/github-action@v6
with:
browser: chrome
browser: ${{ matrix.browser }}
env:
CYPRESS_BASE_URL: ${{github.event.deployment_status.environment_url}}
CYPRESS_BASE_URL: ${{ github.event.deployment_status.environment_url }}
29 changes: 29 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
"dotenv-cli": "^7.3.0",
"eslint": "^8.56.0",
"patch-package": "^8.0.0",
"playwright-webkit": "^1.41.2",
"prettier": "^3.2.5",
"prettier-plugin-prisma": "^5.0.0",
"prisma": "^5.9.1",
Expand Down

0 comments on commit 1d2d15d

Please sign in to comment.