Move to GitHub Actions (#6)

This commit is contained in:
Richie Bendall 2021-01-01 23:41:38 +13:00 committed by GitHub
parent b59e39440b
commit 857bca9cf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 6 deletions

23
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 14
- 12
- 10
- 8
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test

View File

@ -1,5 +0,0 @@
language: node_js
node_js:
- '12'
- '10'
- '8'

View File

@ -1,4 +1,4 @@
# p-defer [![Build Status](https://travis-ci.org/sindresorhus/p-defer.svg?branch=master)](https://travis-ci.org/sindresorhus/p-defer)
# p-defer
> Create a deferred promise