-
Notifications
You must be signed in to change notification settings - Fork 1
37 lines (32 loc) · 898 Bytes
/
main.yml
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
37
name: Sauce-cy
on: push
jobs:
chrome:
runs-on: ubuntu-22.04
name: E2E on Chrome
steps:
- name: Checkout
uses: actions/checkout@v3
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v5 # use the explicit version number
with:
# build: npm run build
browser: chrome
headed: false
- name: merge reports
run: npm run final_report
if: always()
- name: store reports directory
uses: actions/upload-artifact@v3
if: always()
with:
name: reports-directory
path: cypress/reports
- name: store final report
uses: actions/upload-artifact@v3
if: always()
with:
name: final-report
path: SauceCy.html