Skip to content
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
37 changes: 37 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
version: 2

.restore-cache: &restore_cache
restore_cache:
name: Restoring Node Modules Cache
keys:
- v1-node_modules-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- v1-node_modules-

jobs:
build:
docker:
- image: circleci/node:10

working_directory: ~/repo

branches:
ignore:
- /^v\d+\.\d+\.\d+$/

steps:
- checkout
- <<: *restore_cache
- run: yarn install

- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ checksum "package.json" }}

- run: yarn lint
- run: yarn build
- run: yarn test
- run: yarn report-coverage
- run: if [ "$CIRCLE_BRANCH" = "master" ]; then yarn deploy-docs; fi
- run: if [ "$CIRCLE_BRANCH" = "master" ]; then yarn semantic-release; fi
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2017 David Chanin <chanindav@gmail.com>
Copyright 2019 David Chanin <chanindav@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
Loading