-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
config.yml
52 lines (40 loc) · 1.16 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
46
47
48
49
50
51
52
version: 2
jobs:
build:
docker:
- image: circleci/node:latest
steps:
- checkout
- restore_cache:
keys:
- v1-dependencies-{{ checksum "package.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-
- run:
name: Install global packages
command: sudo npm install -g codecov greenkeeper-lockfile@1
- run:
name: Greenkeeper Lockfile
command: greenkeeper-lockfile-update
- run:
name: Install dependencies
command: npm install
- save_cache:
key: v1-dependencies-{{ checksum "package.json" }}
paths:
- node_modules
- run:
name: Javascript Linter
command: npm run lint
- run:
name: All Unit Tests with Code Coverage
command: npm run test:coverage
- run:
name: Mutation Tests
command: npm run test:mutants
- run:
name: Push any lockfile changes
command: greenkeeper-lockfile-upload
- run:
name: Send reports to codecov.io
command: codecov