Skip to content

Commit

Permalink
remove travis; add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Feb 11, 2021
1 parent 57caad4 commit 47b663f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 16 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,23 @@
name: ci
'on':
- push
- pull_request
jobs:
test:
name: Node ${{ matrix.node }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node:
- '14'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ runner.node }}
- run: npm install
- run: npm run build --if-present
- run: npm test
1 change: 0 additions & 1 deletion .npmignore
@@ -1,6 +1,5 @@
.airtap.yml
.github/
.travis.yml
bin/
perf/
test/
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
@@ -1,7 +1,7 @@
# buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
# buffer [![ci][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

[travis-image]: https://img.shields.io/travis/feross/buffer/master.svg
[travis-url]: https://travis-ci.org/feross/buffer
[ci-image]: https://img.shields.io/github/workflow/status/feross/buffer/ci/master
[ci-url]: https://github.com/feross/buffer/actions
[npm-image]: https://img.shields.io/npm/v/buffer.svg
[npm-url]: https://npmjs.org/package/buffer
[downloads-image]: https://img.shields.io/npm/dm/buffer.svg
Expand Down

0 comments on commit 47b663f

Please sign in to comment.