Skip to content

Commit 82495ad

Browse files
authored
Use GitHub Actions CI (#154)
Travis is taking over an hour to run for some reason. This PR changes this repo to use GitHub Actions CI instead of Travis CI.
1 parent 1a13a88 commit 82495ad

File tree

3 files changed

+23
-8
lines changed

3 files changed

+23
-8
lines changed

.github/workflows/ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
matrix:
14+
node-version: [6.x, 14.x]
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Node.js ${{ matrix.node-version }}
18+
uses: actions/setup-node@v1
19+
with:
20+
node-version: ${{ matrix.node-version }}
21+
- run: npm install
22+
- run: npm test

.travis.yml

-7
This file was deleted.

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ms
22

3-
[![Build Status](https://travis-ci.org/vercel/ms.svg?branch=master)](https://travis-ci.org/vercel/ms)
3+
![CI](https://github.com/vercel/ms/workflows/CI/badge.svg)
44

55
Use this package to easily convert various time formats to milliseconds.
66

0 commit comments

Comments
 (0)