forked from ValentinH/react-easy-crop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
34 lines (34 loc) · 931 Bytes
/
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
version: 2
jobs:
build:
docker:
- image: cypress/base:10
environment:
## this enables colors in the output
TERM: xterm
auth:
username: $DOCKER_HUB_USERNAME
password: $DOCKER_HUB_PASSWORD
steps:
- checkout
- restore_cache: # special step to restore the dependency cache
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: Setup Dependencies
command: yarn install --frozen-lockfile
- save_cache: # special step to save the dependency cache
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ~/.cache ## cache both yarn and Cypress
- run:
name: Run linting
command: |
yarn lint
- run:
name: Run unit tests
command: |
yarn unit
- run: # run coveralls
name: Run e2e tests
command: |
yarn e2e:ci