Files
cursor__plugins/.github/workflows/validate-plugins.yml
Prax Lannister 1ad5f3fb03 fix: wire all three validation gates into CI and harden reference checker
Review findings: CI now installs from bun.lock (--frozen-lockfile) instead of
unpinned npm install; workflow runs portability + references gates on pstack
changes; checker catches malformed percent-encoding and exempts hyphenated
template placeholders; CLAUDE.md gate list corrected. Review record:
.agent/evidence/code-review-findings.md
2026-08-21 16:26:45 +05:30

36 lines
782 B
YAML

name: Validate plugins
on:
pull_request:
paths:
- ".cursor-plugin/marketplace.json"
- "**/plugin.json"
- "schemas/**"
- "pstack/**"
- "package.json"
- "bun.lock"
jobs:
validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- uses: oven-sh/setup-bun@v2
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Validate plugin definitions
run: node scripts/validate-plugins.mjs
- name: Check pstack portability contract
run: node scripts/check-pstack-portability.mjs
- name: Check pstack skill references
run: node scripts/check-pstack-references.mjs