Skip to content

Commit

Permalink
Test on node 10 and 12, send coverage to coveralls, remove travis
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMitchL committed Apr 4, 2020
1 parent 1372979 commit 79dd39a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/main.yml
Expand Up @@ -4,14 +4,18 @@ jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node: [10, 12]

steps:
- name: Begin CI...
uses: actions/checkout@v2

- name: Use Node 12
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: ${{ matrix.node }}

- name: Use cached node_modules
uses: actions/cache@v1
Expand All @@ -32,10 +36,15 @@ jobs:
CI: true

- name: Test
run: npm run test --ci --coverage --maxWorkers=2
run: npm run test -- --ci --coverage --maxWorkers=2
env:
CI: true

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build
run: npm run build
env:
Expand Down
16 changes: 0 additions & 16 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
# gift-exchange [![npm](https://img.shields.io/npm/v/gift-exchange)](https://www.npmjs.com/package/gift-exchange) [![Build Status](https://travis-ci.org/BrianMitchL/gift-exchange.svg?branch=master)](https://travis-ci.org/BrianMitchL/gift-exchange) [![Coverage Status](https://coveralls.io/repos/github/BrianMitchL/gift-exchange/badge.svg?branch=master)](https://coveralls.io/github/BrianMitchL/gift-exchange?branch=master)
# gift-exchange [![npm](https://img.shields.io/npm/v/gift-exchange)](https://www.npmjs.com/package/gift-exchange) ![CI](https://github.com/BrianMitchL/gift-exchange/workflows/CI/badge.svg) [![Coverage Status](https://coveralls.io/repos/github/BrianMitchL/gift-exchange/badge.svg?branch=master)](https://coveralls.io/github/BrianMitchL/gift-exchange?branch=master)

An algorithm to generate unbiased pairs of names for a gift exchange or secret
santa.
Expand Down

0 comments on commit 79dd39a

Please sign in to comment.