Skip to content

Commit

Permalink
GitHub actions (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
fdelavega committed Feb 18, 2021
1 parent 70412ab commit 6faa820
Show file tree
Hide file tree
Showing 3 changed files with 857 additions and 10 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/tests.yml
@@ -0,0 +1,33 @@
name: Tests

on:
push:
branches:
- master

pull_request:
branches:
- master

jobs:
test:
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@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
parallel: true
flag-name: run-${{ matrix.node-version }}
10 changes: 0 additions & 10 deletions .travis.yml

This file was deleted.

0 comments on commit 6faa820

Please sign in to comment.