Skip to content

Commit

Permalink
Add coveralls github action
Browse files Browse the repository at this point in the history
  • Loading branch information
MatsAnd authored Nov 16, 2020
1 parent 7fa0ba9 commit f3fee48
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/coveralls.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Test and publish Coveralls

on: ["push", "pull_request"]

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- name: Use Node.js 10.x
uses: actions/setup-node@v1
with:
node-version: 10.x

- name: Check and create coverage file
run: |
npm install
npm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f3fee48

Please sign in to comment.