Skip to content

Raised unit-test coverage of the extraction and streaming paths to 97… #267

Raised unit-test coverage of the extraction and streaming paths to 97…

Raised unit-test coverage of the extraction and streaming paths to 97… #267

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
# Deterministic quality gates, ordered fastest-fail-first. Uses npm ci so the dependency tree
# matches a local run against the same package-lock.json.
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up Node
uses: actions/setup-node@v7
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Typecheck
run: npm run typecheck
- name: Lint
run: npm run lint
- name: Unit tests with coverage
run: npm run test:coverage
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v7
with:
files: ./coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true