-
-
Notifications
You must be signed in to change notification settings - Fork 1
30 lines (25 loc) · 685 Bytes
/
cypress.yml
File metadata and controls
30 lines (25 loc) · 685 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
name: cypress
on: [push, pull_request]
concurrency:
group: ${{ github.workflow_ref }}-${{ github.event_name }}
cancel-in-progress: true
jobs:
cypress:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Cypress run
uses: cypress-io/github-action@v7
- name: Record screenshots
uses: actions/upload-artifact@v7
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots
- name: Record videos
uses: actions/upload-artifact@v7
if: failure()
with:
name: cypress-videos
path: cypress/videos