cd .. (all tools)

YAML ↔ JSON

Convert between YAML and JSON.

// Runs in your browser. Nothing you type here is sent anywhere.

Direction

Indent the result with

Result

{
  "name": "PR check",
  "on": {
    "pull_request": {
      "branches": [
        "main"
      ]
    }
  },
  "jobs": {
    "check": {
      "runs-on": "ubuntu-latest",
      "steps": [
        {
          "uses": "actions/checkout@v7"
        },
        {
          "run": "npm ci"
        },
        {
          "run": "npm run lint"
        }
      ]
    }
  }
}