Skip to content

Commit

Permalink
Use GitHub Actions CI (#154)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
styfle committed Dec 7, 2020
1 parent 1a13a88 commit 82495ad
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 8 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,22 @@
name: CI

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [6.x, 14.x]
steps:
- uses: actions/checkout@v2
- name: Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion readme.md
@@ -1,6 +1,6 @@
# ms

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

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

Expand Down

0 comments on commit 82495ad

Please sign in to comment.