Skip to content

Commit 47b663f

Browse files
committed
remove travis; add github actions
1 parent 57caad4 commit 47b663f

File tree

4 files changed

+26
-16
lines changed

4 files changed

+26
-16
lines changed

.github/workflows/ci.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 ${{ matrix.node }} / ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
os:
13+
- ubuntu-latest
14+
node:
15+
- '14'
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v2
19+
with:
20+
node-version: ${{ runner.node }}
21+
- run: npm install
22+
- run: npm run build --if-present
23+
- run: npm test

.npmignore

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.airtap.yml
22
.github/
3-
.travis.yml
43
bin/
54
perf/
65
test/

.travis.yml

-12
This file was deleted.

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
# buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
1+
# buffer [![ci][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
22

3-
[travis-image]: https://img.shields.io/travis/feross/buffer/master.svg
4-
[travis-url]: https://travis-ci.org/feross/buffer
3+
[ci-image]: https://img.shields.io/github/workflow/status/feross/buffer/ci/master
4+
[ci-url]: https://github.com/feross/buffer/actions
55
[npm-image]: https://img.shields.io/npm/v/buffer.svg
66
[npm-url]: https://npmjs.org/package/buffer
77
[downloads-image]: https://img.shields.io/npm/dm/buffer.svg

0 commit comments

Comments
 (0)