Skip to content

Commit aed9d12

Browse files
authored
Use GitHub Actions (#318)
1 parent c42f083 commit aed9d12

File tree

3 files changed

+28
-11
lines changed

3 files changed

+28
-11
lines changed

.github/workflows/test.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Tests
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
name: Test Suite
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Set up Node
12+
uses: actions/setup-node@v1
13+
with:
14+
node-version: 14
15+
cache: npm
16+
17+
- name: Checkout code
18+
uses: actions/checkout@v2
19+
20+
- name: Install dependencies
21+
run: npm ci
22+
23+
- name: Run build
24+
run: npm run build
25+
26+
- name: Run test suite
27+
run: npm test

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

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

0 commit comments

Comments
 (0)