Skip to content

Commit

Permalink
Adding [test] coverage action for coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
speedytwenty committed Jan 14, 2024
1 parent a9fca9a commit 1c8104e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: test
on:
push:
branches:
- coverage-action
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
run: |
yarn install --frozen-lockfile
yarn lint
yarn test:coverage
- name: Coveralls
uses: coverallsapp/github-action@v2

0 comments on commit 1c8104e

Please sign in to comment.