name: sourcey.verify
description: Verify that a Sourcey build produced an index.html output.
source:
  type: cli-tool
  command: node
  args:
    - ./run.mjs
  timeout_seconds: 30
  input_mode: none
inputs:
  output_dir:
    type: string
    required: true
    description: Output directory produced by Sourcey.
  index_path:
    type: string
    required: false
    description: Explicit index file path; defaults to <output_dir>/index.html.
scopes:
  - sourcey.verify
runx:
  artifacts:
    wrap_as: sourcey_verification_report
