Skip to content

Commit 228d2a1

Browse files
authoredMay 13, 2021
Circleci project setup (#90)
* Add .circleci/config.yml * remove travis-ci config * maybe test on multiple node version * adjusted attempt * adjusted attempt * alternate approach * Updated config.yml * adjustments * replace travisci badge with circleci badge
1 parent 598fb59 commit 228d2a1

File tree

3 files changed

+53
-11
lines changed

3 files changed

+53
-11
lines changed
 

‎.circleci/config.yml

+50
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
version: 2.1
2+
3+
orbs:
4+
node: circleci/node@4.1
5+
6+
jobs:
7+
build-and-test-16:
8+
docker:
9+
- image: cimg/node:16.1
10+
steps:
11+
- checkout
12+
- node/install-packages
13+
- run:
14+
name: build and test
15+
command: npm run lint && npm run build && npm test
16+
build-and-test-15:
17+
docker:
18+
- image: cimg/node:15.14
19+
steps:
20+
- checkout
21+
- node/install-packages
22+
- run:
23+
name: build and test
24+
command: npm run lint && npm run build && npm test
25+
build-and-test-12:
26+
docker:
27+
- image: cimg/node:14.17
28+
steps:
29+
- checkout
30+
- node/install-packages
31+
- run:
32+
name: build and test
33+
command: npm run lint && npm run build && npm test
34+
build-and-test-14:
35+
docker:
36+
- image: cimg/node:12.22
37+
steps:
38+
- checkout
39+
- node/install-packages
40+
- run:
41+
name: build and test
42+
command: npm run lint && npm run build && npm test
43+
44+
workflows:
45+
test:
46+
jobs:
47+
- build-and-test-16
48+
- build-and-test-15
49+
- build-and-test-14
50+
- build-and-test-12

‎.travis.yml

-7
This file was deleted.

‎README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
## Ansi to Html
2-
3-
[![](https://travis-ci.org/rburns/ansi-to-html.svg?branch=master)](https://travis-ci.org/rburns/ansi-to-html/branches)
2+
[![rburns](https://circleci.com/gh/rburns/ansi-to-html.svg?style=svg)](https://circleci.com/gh/rburns/ansi-to-html)
43
[![](https://img.shields.io/npm/v/ansi-to-html.svg)](https://www.npmjs.com/package/ansi-to-html)
54
![](https://img.shields.io/npm/dm/ansi-to-html.svg)
65

@@ -100,8 +99,8 @@ npm run lint
10099
npm run build
101100
```
102101

103-
- Builds the `/src` files by running `babel`.
104-
- Saves the built files in `/lib` output directory.
102+
- Builds the `/src` files by running `babel`.
103+
- Saves the built files in `/lib` output directory.
105104
- Recommended to run `babel` in Watch mode - will re-build the project each time the files are changed.
106105
```bash
107106
npm run build:watch

0 commit comments

Comments
 (0)
Please sign in to comment.