Skip to content

Reduce private scoring helper exports #124

Reduce private scoring helper exports

Reduce private scoring helper exports #124

Workflow file for this run

name: CI Build
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
name: test (Node ${{ matrix.node-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ['20.x', '22.x', '24.x']
steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v6
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpm lint
- name: Check for unused exports
if: matrix.node-version == '22.x'
run: pnpm knip
- run: pnpm build
- name: Verify published package contents
if: matrix.node-version == '22.x'
run: node scripts/verify-npm-pack.cjs
- run: pnpm coverage
- name: Upload coverage to Codecov
if: matrix.node-version == '22.x'
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/lcov.info
fail_ci_if_error: false