name: CI on: pull_request: branches: [main] push: branches: [main] permissions: contents: read concurrency: group: ci-${{ github.ref }} cancel-in-progress: true jobs: check: runs-on: ubuntu-latest steps: - uses: actions/checkout@v7 with: persist-credentials: false - uses: actions/setup-node@v7 with: node-version: 24 cache: npm cache-dependency-path: | package-lock.json site/package-lock.json - run: npm ci # Package: build, check every export exists and the JS parses, list the tarball. - run: npm run check # Docs site: build it and check llms.txt links to the .md exports. - run: npm run check:site