Skip to content

Commit

Permalink
Replace travis with Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunkomath committed Sep 25, 2021
1 parent 2e236e0 commit 97c0e41
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 65 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: Run tests

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

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- run: npm test
- run: npm run coverage
65 changes: 0 additions & 65 deletions .travis.yml

This file was deleted.

0 comments on commit 97c0e41

Please sign in to comment.