YAML ↔ JSON
Convert between YAML and JSON.
Convert between YAML and JSON.
// Runs in your browser. Nothing you type here is sent anywhere.
{
"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"
}
]
}
}
}