Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d735cf5

Browse files
Merge pull request #53 from rtfpessoa/whyboris-testing
Move to Typescript
2 parents 30f33a6 + e4c36e4 commit d735cf5

30 files changed

+3177
-1539
lines changed

‎.circleci/config.yml‎

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +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 coverage
17-
- run: npm run check-coverage
18-
- run: npm run report
15+
- run: yarn run build
16+
- run: yarn run coverage
1917

2018
build-latest: &latest-build
21-
docker:
22-
- image: node
2319
working_directory: ~/diff2html-cli
2420
steps:
2521
- checkout
@@ -32,34 +28,35 @@ jobs:
3228
- ./node_modules
3329
- run: yarn run test
3430
- run: yarn run lint
35-
- run: yarn run coverage-lcov
31+
- run: yarn run coverage
3632
- run: yarn run codacy
3733

34+
jobs:
3835
build-node_8:
3936
<<: *common-build
4037
docker:
4138
- image: node:8
4239

43-
build-node_9:
44-
<<: *common-build
45-
docker:
46-
- image: node:9
47-
4840
build-node_10:
4941
<<: *common-build
5042
docker:
5143
- image: node:10
5244

5345
build-node_11:
54-
<<: *latest-build
46+
<<: *common-build
5547
docker:
5648
- image: node:11
5749

50+
build-node_12:
51+
<<: *latest-build
52+
docker:
53+
- image: node:12
54+
5855
workflows:
5956
version: 2
6057
build:
6158
jobs:
6259
- build-node_8
63-
- build-node_9
6460
- build-node_10
6561
- build-node_11
62+
- build-node_12

‎.eslintignore‎

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /