Skip to content
This repository has been archived by the owner on Nov 21, 2022. It is now read-only.

Commit

Permalink
Swap out Travis CI for GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed Dec 21, 2020
1 parent 352f393 commit 8c1d865
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 8 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yml
@@ -0,0 +1,27 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: build

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

3 changes: 1 addition & 2 deletions README.md
@@ -1,6 +1,5 @@
[![build](https://github.com/osmlab/ohauth/workflows/build/badge.svg)](https://github.com/osmlab/ohauth/actions?query=workflow%3A%22build%22)
[![npm version](https://badge.fury.io/js/ohauth.svg)](https://badge.fury.io/js/ohauth)
[![Build Status](https://travis-ci.org/osmlab/ohauth.svg?branch=master)](https://travis-ci.org/osmlab/ohauth)
[![Greenkeeper badge](https://badges.greenkeeper.io/osmlab/ohauth.svg)](https://greenkeeper.io/)


## ohauth
Expand Down

0 comments on commit 8c1d865

Please sign in to comment.