Derive accepted PR labels from the repository #108
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| env: | |
| # Override mise.toml so each matrix job installs and activates the Node | |
| # version it is responsible for testing. | |
| MISE_NODE_VERSION: ${{ matrix.node-version }} | |
| strategy: | |
| matrix: | |
| # 22.12.0 verifies package.json's stated `engines.node` floor; 24 is | |
| # the version this repo is otherwise developed/tested against (see | |
| # mise.toml). Keep both — the floor is meaningless if only the newer | |
| # version is ever tested. | |
| node-version: ["22.12.0", 24] | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: Set up toolchain | |
| uses: jdx/mise-action@v4 | |
| with: | |
| cache_key: "{{default}}-node-${{ matrix.node-version }}" | |
| - name: Install dependencies | |
| run: npm ci | |
| # Installs the real `claude` CLI so `claude plugin validate --strict` | |
| # (the strongest available conformance oracle for the claude target, | |
| # per CONFORMANCE.md) actually runs in CI instead of silently skipping. | |
| - name: Install Claude Code CLI | |
| run: npm install -g @anthropic-ai/claude-code | |
| - name: Check | |
| run: npm run check | |
| - name: Audit production dependencies | |
| run: npm run audit | |
| - name: Verify package contents | |
| run: node scripts/verify-pack-contents.mjs | |
| - name: Verify packed install runs | |
| run: node scripts/verify-packed-install.mjs |