forked from uport-project/uport-connect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
34 lines (28 loc) · 763 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
version: 2
jobs:
build:
working_directory: ~/uport-connect
docker:
- image: circleci/node:8-browsers
steps:
- checkout
# Download and cache dependencies
- restore_cache:
keys:
- dependencies-cache-{{ checksum "package.json" }}
- run:
name: install-dependencies
command: npm i
- run:
name: test
command: npm run test
- run:
name: code-coverage
command: bash <(curl -s https://codecov.io/bash)
- run:
name: dist
command: npm run build:dist && npm run build:dist:prod
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- ./node_modules