Skip to content

Commit

Permalink
refactor: move tests to GitHub Actions, remove Travis and AppVeyor
Browse files Browse the repository at this point in the history
  • Loading branch information
bookernath committed Sep 29, 2020
1 parent 4c4adc9 commit 18c6ff9
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 35 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pull_request_review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# 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: Run Tests

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

jobs:
build:
strategy:
matrix:
node: [10.x, 12.x]
os: ['ubuntu-latest', 'windows-latest', 'macos-latest']

runs-on: ${{ matrix.os }}

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

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node }}

- name: Install Dependencies
run: npm i

- name: Run tests
run: npm test
19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

16 changes: 0 additions & 16 deletions appveyor.yml

This file was deleted.

0 comments on commit 18c6ff9

Please sign in to comment.