forked from cypress-io/cypress-example-todomvc
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcircle.yml
40 lines (36 loc) · 750 Bytes
/
circle.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
# run Cypress tests using CircleCI Cypress orb
# https://github.com/cypress-io/circleci-orb
version: 2.1
orbs:
cypress: cypress-io/[email protected]
executors:
node8-lts:
docker:
- image: cypress/base:8.15.1
mac:
macos:
xcode: "10.1.0"
jobs:
lint:
executor: cypress/base-10
steps:
- attach_workspace:
at: ~/
- run: npm run types
- run: npm run lint
workflows:
build:
jobs:
- cypress/run:
executor: node8-lts
name: Linux test
record: true
start: npm start
- cypress/run:
name: Mac test
executor: mac
record: true
start: npm start
- lint:
requires:
- Linux test