Skip to content

Commit

Permalink
Add Circle CI
Browse files Browse the repository at this point in the history
  • Loading branch information
sineverba committed Feb 28, 2021
1 parent 57daf63 commit 748efef
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .circleci/config.yml
@@ -0,0 +1,17 @@
version: 2.1
jobs:

test:
docker:
- image: cimg/node:12.21.0

steps:
- checkout
- run: npm ci
- run: npm run test

workflows:
version: 2
test:
jobs:
- test
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,6 +1,7 @@
# Next version
+ Set default node version
+ Change test suite
+ Add Circle CI

## 0.3.0
+ Add badges
Expand Down
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -2,6 +2,7 @@
| ------- | ------ |
| NPM | [![npm version](https://badge.fury.io/js/shortfield.svg)](https://badge.fury.io/js/shortfield) |
| Semaphore CI | [![Build Status](https://sineverba.semaphoreci.com/badges/npm-pkg-shortfield/branches/master.svg)](https://sineverba.semaphoreci.com/projects/npm-pkg-shortfield) |
| Circle CI | [![CircleCI](https://circleci.com/gh/sineverba/npm-pkg-shortfield.svg?style=svg)](https://circleci.com/gh/sineverba/npm-pkg-shortfield) |
| Coverall | [![Coverage Status](https://coveralls.io/repos/github/sineverba/npm-pkg-shortfield/badge.svg?branch=master)](https://coveralls.io/github/sineverba/npm-pkg-shortfield?branch=master) |

`shortfield` returns a string truncated after X characters (default 10), concatenated with "..." (three dots).
Expand Down

0 comments on commit 748efef

Please sign in to comment.