Skip to content

Commit 601423d

Browse files
committedDec 2, 2020
Move to GitHub Actions
1 parent 0a6e98d commit 601423d

File tree

3 files changed

+24
-12
lines changed

3 files changed

+24
-12
lines changed
 

‎.github/workflows/main.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node.js ${{ matrix.node-version }}
8+
runs-on: ubuntu-latest
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
node-version:
13+
- 14
14+
- 12
15+
- 10
16+
- 8
17+
steps:
18+
- uses: actions/checkout@v2
19+
- uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: npm install
23+
- run: npm test

‎.travis.yml

-6
This file was deleted.

‎readme.md

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
# strip-ansi [![Build Status](https://travis-ci.org/chalk/strip-ansi.svg?branch=master)](https://travis-ci.org/chalk/strip-ansi)
1+
# strip-ansi
22

33
> Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string
44
5-
65
## Install
76

87
```
98
$ npm install strip-ansi
109
```
1110

12-
1311
## Usage
1412

1513
```js
@@ -22,14 +20,12 @@ stripAnsi('\u001B]8;;https://github.com\u0007Click\u001B]8;;\u0007');
2220
//=> 'Click'
2321
```
2422

25-
2623
## strip-ansi for enterprise
2724

2825
Available as part of the Tidelift Subscription.
2926

3027
The maintainers of strip-ansi and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-strip-ansi?utm_source=npm-strip-ansi&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
3128

32-
3329
## Related
3430

3531
- [strip-ansi-cli](https://github.com/chalk/strip-ansi-cli) - CLI for this module
@@ -38,7 +34,6 @@ The maintainers of strip-ansi and thousands of other packages are working with T
3834
- [ansi-regex](https://github.com/chalk/ansi-regex) - Regular expression for matching ANSI escape codes
3935
- [chalk](https://github.com/chalk/chalk) - Terminal string styling done right
4036

41-
4237
## Maintainers
4338

4439
- [Sindre Sorhus](https://github.com/sindresorhus)

1 commit comments

Comments
 (1)

Qix- commented on Dec 2, 2020

@Qix-
Member

Thank goodness. Good move.

Please sign in to comment.