{
  "name": "run-shell-tests",
  "title": "Run a test command",
  "category": "CI/CD",
  "tags": [
    "ci-cd",
    "node"
  ],
  "version": "1.0.1",
  "date": "2026-08-02",
  "notes": "Move node from 20-alpine to 24-alpine. Fixable CRITICAL/HIGH drops from 18 to 5. This crosses majors: Node 20 left maintenance and no 20.x rebuild carries the fixes, so a test command that relies on Node 20 behaviour needs rechecking.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/run-shell-tests/1.0.1.json",
  "entrypoint": "test",
  "parameters": [
    {
      "name": "test-command",
      "title": "Test command",
      "description": "The test command to run. Runs on Node 24 (node:24-alpine).",
      "type": "string",
      "required": true,
      "example": "npm ci \u0026\u0026 npm test"
    },
    {
      "name": "work-dir",
      "title": "Working directory",
      "description": "Directory to run the test command in (the checked-out repo root).",
      "type": "string",
      "required": false,
      "default": "."
    }
  ],
  "images": [
    {
      "ref": "node@sha256:c6ad9e9c1d80f6eb607c26b4b0a132ff7a2344fad1c78ea3baa2a7d4c8de6d94",
      "repository": "node",
      "digest": "sha256:c6ad9e9c1d80f6eb607c26b4b0a132ff7a2344fad1c78ea3baa2a7d4c8de6d94"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/run-shell-tests",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
