Skip to content

Move to Typescript #53

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Aug 25, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 14 additions & 17 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
version: 2
jobs:

reference:
build-common: &common-build
docker:
- image: node
working_directory: ~/diff2html-cli
steps: &common-steps
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run: npm install
- run: yarn
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run: npm run coverage
- run: npm run check-coverage
- run: npm run report
- run: yarn run build
- run: yarn run coverage

build-latest: &latest-build
docker:
- image: node
working_directory: ~/diff2html-cli
steps:
- checkout
Expand All @@ -32,34 +28,35 @@ jobs:
- ./node_modules
- run: yarn run test
- run: yarn run lint
- run: yarn run coverage-lcov
- run: yarn run coverage
- run: yarn run codacy

jobs:
build-node_8:
<<: *common-build
docker:
- image: node:8

build-node_9:
<<: *common-build
docker:
- image: node:9

build-node_10:
<<: *common-build
docker:
- image: node:10

build-node_11:
<<: *latest-build
<<: *common-build
docker:
- image: node:11

build-node_12:
<<: *latest-build
docker:
- image: node:12

workflows:
version: 2
build:
jobs:
- build-node_8
- build-node_9
- build-node_10
- build-node_11
- build-node_12
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Skip bin and coverage folders
bin/**
coverage/**
build/**
node_modules/**
Loading