Skip to content

Commit

Permalink
Merge 5043635 into afa6855
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel committed May 12, 2020
2 parents afa6855 + 5043635 commit c8afef8
Show file tree
Hide file tree
Showing 6 changed files with 475 additions and 282 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/test.yml
@@ -0,0 +1,30 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Tests

on: [pull_request]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- run: npm ci

- name: Tests
run: npm test

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
@@ -1,4 +1,4 @@
[![Build Status](https://img.shields.io/travis/afuh/rick-and-morty-api-node.svg?style=flat-square)](https://travis-ci.org/afuh/rick-and-morty-api-node)
![Tests](https://github.com/afuh/rick-and-morty-api-node/workflows/Tests/badge.svg)
[![Coverage Status](https://img.shields.io/coveralls/github/afuh/rick-and-morty-api-node/master.svg?style=flat-square)](https://coveralls.io/github/afuh/rick-and-morty-api-node?branch=feature%2Fcover)
[![npm version](https://img.shields.io/npm/v/rickmortyapi.svg?style=flat-square)](https://badge.fury.io/js/rickmortyapi)
[![npm downloads](https://img.shields.io/npm/dm/rickmortyapi.svg?style=flat-square)](https://npmjs.org/package/rickmortyapi)
Expand Down

0 comments on commit c8afef8

Please sign in to comment.