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 2a40d04
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
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@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn lint
- run: yarn test
- name: Coveralls
uses: coverallsapp/github-action@v2

0 comments on commit 2a40d04

Please sign in to comment.