Skip to content

Update badge: use branch develop for coverage status (#28) #6

Update badge: use branch develop for coverage status (#28)

Update badge: use branch develop for coverage status (#28) #6

name: Build, Tests and Coverage
on:
push:
branches:
- main
- develop
pull_request:
branches:
- main
- develop
jobs:
build-tests-coverage:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Run tests and generate coverage report
run: npm run test-ci
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]