Skip to content

fix: address PR #53 review — jq precedence, stats integrity, docs #156

fix: address PR #53 review — jq precedence, stats integrity, docs

fix: address PR #53 review — jq precedence, stats integrity, docs #156

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js 18
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test -- --pool=forks --dangerouslyIgnoreUnhandledErrors
timeout-minutes: 5
- name: Typecheck
run: npx tsc --noEmit
- name: Auto-commit dist/ if changed (main only)
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git diff --quiet dist/ || (git add dist/ && git commit -m "chore: update dist/" && git push)