Skip to content

Commit

Permalink
ci: add coverage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Mar 27, 2024
1 parent daefa50 commit 4f4fd03
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
on:
push:
paths-ignore:
- '*.md'
pull_request:

env:
CI: true
NODE_ENV: cov

jobs
coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
- uses: actions/checkout@v4
- run: npm install
- name: run coverage
run: npx -y c8 --reporter=lcov npm test
- name: codecov
uses: codecov/codecov-action@v2
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.github_token }}
1 change: 0 additions & 1 deletion .nvmrc

This file was deleted.

0 comments on commit 4f4fd03

Please sign in to comment.