Skip to content

Commit 8dc6c58

Browse files
authored
Merge pull request #165 from kristoferbaxter/github-actions
From Travis to Github Actions
2 parents f6e6b0a + 514de39 commit 8dc6c58

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Unit Tests
2+
on: [pull_request]
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
node-version: [10.x, 12.x, 14.x]
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v2
12+
- name: Use Node.js ${{ matrix.node-version }}
13+
uses: actions/setup-node@v1
14+
with:
15+
node-version: ${{ matrix.node-version }}
16+
- name: Test
17+
- run: npm install
18+
- run: npm test

.travis.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)