Skip to content

Commit

Permalink
ci: setup coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
christophka committed Dec 7, 2021
1 parent f09d61c commit 75c38fa
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Test Coveralls

on: ['push', 'pull_request']

jobs:
coverage:
name: Coverage
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2.5.0
with:
node-version: '16'
- run: npm ci
- name: coverage report
run: npm run test:coverage
- name: Coveralls
uses: coverallsapp/github-action@1.1.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 75c38fa

Please sign in to comment.