mirror of
https://github.com/cursor/plugins.git
synced 2026-09-14 20:00:00 +08:00
1ad5f3fb03
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
36 lines
782 B
YAML
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
|