Skip to content

Commit 3179da8

Browse files
m90mantoni
authored andcommitted
Migrate CI to GitHub actions
1 parent d6bcc8b commit 3179da8

File tree

3 files changed

+29
-6
lines changed

3 files changed

+29
-6
lines changed

.github/workflows/test.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
node-version:
17+
- '12'
18+
- '14'
19+
- '16'
20+
steps:
21+
- uses: actions/checkout@v2
22+
- uses: actions/setup-node@v2
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- name: Install dependencies
26+
run: npm ci
27+
- name: Run tests
28+
run: npm t

.travis.yml

-5
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
> TDD with Browserify, Mocha, Headless Chrome and WebDriver
44
5-
[![Build Status](https://travis-ci.org/mantoni/mochify.js.svg?branch=master)](https://travis-ci.org/mantoni/mochify.js)
5+
[![Build](https://github.com/mantoni/mochify.js/actions/workflows/test.yml/badge.svg)](https://github.com/mantoni/mochify.js/actions/workflows/test.yml)
66
[![SemVer]](http://semver.org)
77
[![License]](https://github.com/mantoni/mochify.js/blob/master/LICENSE)
88

0 commit comments

Comments
 (0)