forked from TheSoftwareHouse/cypress-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
51 lines (47 loc) · 951 Bytes
/
.gitlab-ci.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
38
39
40
41
42
43
44
45
46
47
48
49
50
stages:
- test
e2e test - Edge:
image: cypress/browsers:node14.10.1-edge88
script:
- npm install
- npm run cy:start:edge
artifacts:
when: always
paths:
- cypress/screenshots/**
- cypress/videos/**
- cypress/reports/**
expire_in: 1 month
only:
refs:
- schedules
e2e test - Chrome:
image: cypress/browsers:node14.16.0-chrome89-ff86
script:
- npm install
- npm run cy:start:chrome
artifacts:
when: always
paths:
- cypress/screenshots/**
- cypress/videos/**
- cypress/reports/**
expire_in: 1 month
only:
refs:
- schedules
e2e test - Firefox:
image: cypress/browsers:node14.16.0-chrome89-ff86
script:
- npm install
- npm run cy:start:firefox
artifacts:
when: always
paths:
- cypress/screenshots/**
- cypress/videos/**
- cypress/reports/**
expire_in: 1 month
only:
refs:
- schedules