Skip to content

Commit

Permalink
Use GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nickserv committed Sep 17, 2021
1 parent fbbe089 commit 22f15f0
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 6 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Tests

on: [push, pull_request]

jobs:
build:
name: Test Suite
runs-on: ubuntu-latest

steps:
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 16
cache: npm

- name: Checkout code
uses: actions/checkout@v2

- name: Install dependencies
run: npm ci

- name: Lint code
run: npm run lint

- name: Run test suite
run: npm test
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

0 comments on commit 22f15f0

Please sign in to comment.