Skip to content

Commit

Permalink
Use GitHub Actions (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickmccurdy committed Sep 17, 2021
1 parent c42f083 commit aed9d12
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 11 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests

on: [push, pull_request]

jobs:
build:
name: Test Suite
runs-on: ubuntu-latest

steps:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 14
cache: npm

- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: npm ci

- name: Run build
run: npm run build

- name: Run test suite
run: npm test
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Thunk [middleware](https://redux.js.org/advanced/middleware) for Redux.

[![build status](https://img.shields.io/travis/reduxjs/redux-thunk/master.svg?style=flat-square)](https://travis-ci.org/reduxjs/redux-thunk)
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/reduxjs/redux-thunk/Tests)
[![npm version](https://img.shields.io/npm/v/redux-thunk.svg?style=flat-square)](https://www.npmjs.com/package/redux-thunk)
[![npm downloads](https://img.shields.io/npm/dm/redux-thunk.svg?style=flat-square)](https://www.npmjs.com/package/redux-thunk)

Expand Down

0 comments on commit aed9d12

Please sign in to comment.