Skip to content

Commit

Permalink
Switch from Travis to GitHub Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
stefandesu committed Jan 12, 2021
1 parent 658c360 commit f232899
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 7 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

name: Test

on: [push, pull_request]

jobs:
build:

runs-on: ubuntu-latest

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

services:
mongodb:
image: mongo:4
ports:
- 27017:27017

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 ci
- run: npm test
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

0 comments on commit f232899

Please sign in to comment.