-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathcircle.yml
More file actions
25 lines (22 loc) · 809 Bytes
/
circle.yml
File metadata and controls
25 lines (22 loc) · 809 Bytes
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
version: 2
jobs:
build:
working_directory: ~/project
docker:
- image: circleci/node:16
steps:
- checkout
- restore_cache:
key: node_modules-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}
- run: npm i
- save_cache:
paths:
- node_modules
key: node_modules-{{ checksum "package-lock.json" }}-{{ checksum "package.json" }}
- run: npm run tsc
- run: npm run eslint
- run:
name: "test and upload coverage"
command: npm run test && npm run codecov
environment:
- CODECOV_TOKEN: "155bb51c-360b-4193-a77f-d4bb1f37ca96"