Skip to content

Commit

Permalink
configure Github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mrbar42 committed Aug 17, 2021
1 parent 4b8e1f5 commit 5040719
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 8 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Tests

on:
pull_request:
branches:
- master
push:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '4', '6', '8', '12', '14', '16' ]
name: Node ${{ matrix.node }} Tests
steps:
- uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
cache: npm-${{ matrix.node }}
- run: npm ci
- run: npm run test
8 changes: 0 additions & 8 deletions .travis.yml

This file was deleted.

0 comments on commit 5040719

Please sign in to comment.