Skip to content

Fix an off-by-1 error in section lookup #60

Fix an off-by-1 error in section lookup

Fix an off-by-1 error in section lookup #60

Workflow file for this run

name: Node.js
on:
pull_request:
branches: [master]
push:
branches: [master]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12, 14, 16, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- run: npm ci
- run: npm run lint
- run: npm run toc
- run: git diff --stat --exit-code
- run: npx prettier --check .
- run: npm run coverage
- run: npx c8 report --reporter=lcov
- uses: codecov/codecov-action@v3