-
Notifications
You must be signed in to change notification settings - Fork 4
36 lines (31 loc) · 857 Bytes
/
cypress.yml
File metadata and controls
36 lines (31 loc) · 857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Cypress Component Tests
on:
push:
pull_request:
types: [opened, reopened]
jobs:
cypress_matrix:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest] #, macos-latest, windows-latest]
browser: [chrome, firefox, edge]
timeout-minutes: 60
runs-on: ${{ matrix.os }}
container:
image: cypress/browsers:22.12.0
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Cypress run
uses: cypress-io/github-action@v6
with:
browser: ${{ matrix.browser }}
component: true
record: true
group: "${{ matrix.browser }} on ${{ matrix.os }}"
headed: true
env:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}