Skip to content

Next Major Version of library #6

Next Major Version of library

Next Major Version of library #6

name: Continuous Integration
on:
pull_request:
branches:
- master
- next
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: Linter
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/npm-install
- name: Run eslint
run: npm run eslint
test:
runs-on: ubuntu-latest
name: Tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
uses: ./.github/actions/npm-install
- name: Run Test
run: npm run test:cov
- name: Code Coverage Report
uses: irongut/[email protected]
with:
filename: .coverage/cobertura-coverage.xml
badge: true
format: markdown
hide_branch_rate: false
hide_complexity: true
output: both
- name: Add Coverage PR Comment
uses: marocchino/sticky-pull-request-comment@v2
if: github.event_name == 'pull_request'
with:
recreate: true
path: code-coverage-results.md