Skip to content

Commit

Permalink
Remove travis. Add GA for tests. (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
srallen authored Jun 8, 2021
1 parent 8a3b6d4 commit aa64ea4
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests

on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
# See: https://help.github.com/en/actions/automating-your-workflow-with-github-actions/configuring-a-workflow#using-the-checkout-action
- uses: actions/checkout@v2

- name: Use Node.js 14
uses: actions/setup-node@v1
with:
node-version: '14.x'

- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm ci
- run: npm test
2 changes: 0 additions & 2 deletions .travis.yml

This file was deleted.

0 comments on commit aa64ea4

Please sign in to comment.