Skip to content

Commit

Permalink
Configure github actions for CI (#396)
Browse files Browse the repository at this point in the history
* Configure github actions for CI

* Remove travis configuration
  • Loading branch information
bpinto committed Nov 24, 2021
1 parent 30d528e commit b811b60
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 11 deletions.
29 changes: 29 additions & 0 deletions .github/continuous_integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
cache: 'npm'
node-version: ${{ matrix.node-version }}

- name: Update npm
run: npm i -g npm@7

- name: Install node modules
run: npm ci

- name: Run tests
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 @@

Jest plugin for asserting on Kefir Observables.

[![Build Status](https://travis-ci.org/kefirjs/jest-kefir.svg?branch=master)](https://travis-ci.org/kefirjs/jest-kefir)
[![Build Status](https://github.com/kefirjs/jest-kefir/actions/workflows/continuous_integration.yml/badge.svg)](https://github.com/kefirjs/jest-kefir/actions?query=workflow%3ACI)

---

Expand Down

0 comments on commit b811b60

Please sign in to comment.