Skip to content

chore: adding bun compatibility #25

chore: adding bun compatibility

chore: adding bun compatibility #25

Workflow file for this run

name: Comment PR Coverage
on:
pull_request:
branches:
- canary
- "*.x"
- 'main'
permissions:
contents: read
pull-requests: write
jobs:
coverage_report:
name: Generate coverage report
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install Node Modules
run: npm ci
- name: Run Coverage Check
run: npm run lcov
- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@v1
- name: Report code coverage
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: coverage/lcov.info
minimum-coverage: 90
artifact-name: code-coverage-report
github-token: ${{ secrets.GITHUB_TOKEN }}
update-comment: true