-
Notifications
You must be signed in to change notification settings - Fork 52
/
config.yml
45 lines (44 loc) · 1.08 KB
/
config.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
version: 2.1
orbs:
node: circleci/node@4.0.0
jobs:
all:
docker:
- image: cypress/base:14.17.3
steps:
- checkout
- node/install-packages:
pkg-manager: yarn
- run: yarn format:check --all
- run: yarn affected:lint --all
- run: yarn affected:test --all
- run:
command: yarn affected:e2e --all
no_output_timeout: 40m
affected:
docker:
- image: cypress/base:14.17.3
steps:
- checkout
- node/install-packages:
pkg-manager: yarn
- run: yarn format:check --base origin/master --head HEAD
- run: yarn affected:lint --base origin/master --head HEAD
- run: yarn affected:test --base origin/master --head HEAD
- run:
command: yarn affected:e2e --base origin/master --head HEAD
no_output_timeout: 40m
workflows:
version: 2
default:
jobs:
- all:
filters:
branches:
only:
- master
- affected:
filters:
branches:
ignore:
- master