Skip to content

Commit

Permalink
Chore: add gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
JPeer264 committed Jun 26, 2021
1 parent b2fdb13 commit 47f88e2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 5,126 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Node.js CI
on:
push:
branches:
- main
pull_request:

jobs:
test:
strategy:
matrix:
node: [12.x, 14.x, 16.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
- name: Coveralls Parallel
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
flag-name: run-${{ matrix.test_number }}
parallel: true
finish:
runs-on: ubuntu-latest
needs: test
steps:
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true

19 changes: 0 additions & 19 deletions .travis.yml

This file was deleted.

Loading

0 comments on commit 47f88e2

Please sign in to comment.