-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
34 lines (33 loc) · 910 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.1
jobs:
build:
docker:
- image: circleci/node:12
working_directory: ~/umi
steps:
- checkout
- attach_workspace:
at: ~/umi
- restore_cache:
key: node-modules-{{ checksum "yarn.lock" }}
- run:
name: Install Dependencies
command: yarn --frozen-lockfile
- save_cache:
key: node-modules-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- ~/.cache/yarn
- run:
name: Run Build
command: yarn build
- run:
name: Run Type Check
command: yarn run tsc --noEmit
- run:
name: Run Tests
command: yarn test:coverage --forceExit --detectOpenHandles --runInBand
no_output_timeout: 300m
- run:
name: Generate coverage
command: bash <(curl -s https://codecov.io/bash)