Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .github/workflows/pr-require-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,23 @@ jobs:
- name: Validate the marketplace
run: npm run validate

lychee:
name: Offline links
if: ${{ !(github.event.pull_request.head.repo.full_name == github.repository && (contains(fromJSON('["labeled","unlabeled"]'), github.event.action) || (github.event.action == 'edited' && !github.event.changes.base))) }}
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- name: Check out
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Check local links and anchors
uses: melodic-software/ci-workflows/.github/actions/lychee-offline@594987abe8657a40bccc13d301f1f0d5cccb5348 # v0.39.8
with:
config: lychee.toml

ci-status:
needs: [validate-marketplace]
needs: [validate-marketplace, lychee]
if: ${{ !cancelled() }}
runs-on: ubuntu-24.04
# No run waits for another: with `yield-to-full-run` a contract-only run
Expand Down
5 changes: 3 additions & 2 deletions docs/cursor-cloud-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ is the marketplace/plugin validator CLI.
validator's own test).
- Marketplace validation (the primary run target): `npm run validate`, which
executes `plugins/plugin-ops/skills/verify-plugin/scripts/validate-marketplace.mjs .`.
- There is no separate lint step; `npm test` + `npm run validate` are the full
gate (mirrors `.github/workflows/pr-require-checks.yml`).
- There is no separate lint step; `npm test` + `npm run validate` are the
Node gate. `.github/workflows/pr-require-checks.yml` also runs an offline
lychee check of local links and anchors against `lychee.toml`.
- Run the validator directly on any plugin or marketplace root, with optional
`--json`:
`node plugins/plugin-ops/skills/verify-plugin/scripts/validate-marketplace.mjs ./plugins/humanize --json`.
Expand Down