Skip to content

Commit

Permalink
fix: Migrate from TravisCI to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehall314 committed Mar 31, 2021
1 parent 1d03ed8 commit a877848
Showing 3 changed files with 30 additions and 17 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Test Runner"
on: "push"
jobs:
test-legacy:
runs-on: "ubuntu-latest"
strategy:
matrix:
version: ["6.x"]
steps:
- uses: "actions/checkout@v2"
- name: Node v${{ matrix.version }}
uses: "actions/setup-node@v2"
with:
node-version: ${{ matrix.version }}
- run: npm i
- run: npm test
test:
runs-on: "ubuntu-latest"
strategy:
matrix:
version: ["8.x", "10.x", "12.x", "14.x"]
steps:
- uses: "actions/checkout@v2"
- name: Node v${{ matrix.version }}
uses: "actions/setup-node@v2"
with:
node-version: ${{ matrix.version }}
- run: npm cit
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

11 changes: 2 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[![Travis CI](https://travis-ci.org/digitaldesignlabs/es6-promisify.svg)](https://travis-ci.org/digitaldesignlabs/es6-promisify)
![Build Status](https://github.com/digitaldesignlabs/es6-promisify/actions/workflows/test.yml/badge.svg)

# es6-promisify

Converts callback-based functions to ES6/ES2015 Promises, using a boilerplate callback function.
Converts callback-based functions to Promises, using a boilerplate callback function.

## Install

@@ -89,11 +89,4 @@ Test with tape
$ npm test
```

### Changes from v5.0.0

- Allow developer to specify a different implementations of `Promise`
- No longer ships with a polyfill for `Promise`. If your environment has no native `Promise` you must polyfill yourself, or set `promisify.Promise` to an A+ compatible `Promise` implementation.
- Removed support for `settings.thisArg`: use `.bind()` instead.
- Removed support for `settings.multiArgs`: use named arguments instead.

Published under the [MIT License](http://opensource.org/licenses/MIT).

0 comments on commit a877848

Please sign in to comment.