Skip to content

Commit e4c36e4

Browse files
committed
refactor: Enforce types everywhere
1 parent 811ac42 commit e4c36e4

21 files changed

+787
-903
lines changed

.circleci/config.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
version: 2
2-
jobs:
2+
3+
reference:
34
build-common: &common-build
4-
docker:
5-
- image: node
65
working_directory: ~/diff2html-cli
76
steps: &common-steps
87
- checkout
98
- restore_cache:
109
key: dependency-cache-{{ checksum "yarn.lock" }}
11-
- run: npm install
10+
- run: yarn
1211
- save_cache:
1312
key: dependency-cache-{{ checksum "yarn.lock" }}
1413
paths:
1514
- ./node_modules
16-
- run: npm run build
17-
- run: npm run coverage
15+
- run: yarn run build
16+
- run: yarn run coverage
1817

1918
build-latest: &latest-build
20-
docker:
21-
- image: node
2219
working_directory: ~/diff2html-cli
2320
steps:
2421
- checkout
@@ -31,19 +28,15 @@ jobs:
3128
- ./node_modules
3229
- run: yarn run test
3330
- run: yarn run lint
34-
- run: npm run coverage
31+
- run: yarn run coverage
3532
- run: yarn run codacy
3633

34+
jobs:
3735
build-node_8:
3836
<<: *common-build
3937
docker:
4038
- image: node:8
4139

42-
build-node_9:
43-
<<: *common-build
44-
docker:
45-
- image: node:9
46-
4740
build-node_10:
4841
<<: *common-build
4942
docker:
@@ -64,7 +57,6 @@ workflows:
6457
build:
6558
jobs:
6659
- build-node_8
67-
- build-node_9
6860
- build-node_10
6961
- build-node_11
7062
- build-node_12

.eslintignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Skip bin and coverage folders
2-
bin/**
31
coverage/**
42
build/**
3+
node_modules/**

0 commit comments

Comments
 (0)