{"uid":"cap_PjuciUWl6Mzrx0FOTeNrF","slug":"api-strale-io-4dcb6e1d","name":"GitHub Actions CI/CD Workflow Generator","description":"Generate CI/CD workflow YAML for GitHub Actions. Supports multiple languages, frameworks, and deploy targets (Railway, Vercel, Fly).","url":"https://api.strale.io/x402/github-actions-generate","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["language"],"properties":{"steps":{"type":"array"},"language":{"type":"string"},"triggers":{"type":"array"},"framework":{"type":"string"},"deploy_target":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":{"request":{"steps":["install","test","build","deploy"],"language":"javascript","triggers":["push","pull_request"],"framework":"express","deploy_target":"railway"},"response":{"jobs":["install","lint","test","build","deploy"],"_meta":{"payment":{"method":"x402","price_usd":0.162,"settlement_id":"0xff3ac55dd04720c34dd0946a83b61d53aeb5f991810d0588f5f9b5c6ce34ed42"},"capability":"github-actions-generate","latency_ms":4495,"provenance":{"source":"claude-haiku","fetched_at":"2026-06-16T01:24:09.175Z"}},"language":"javascript","framework":"express","deploy_target":"railway","workflow_yaml":"name: CI/CD Pipeline\n\non:\n  push:\n    branches:\n      - main\n      - develop\n  pull_request:\n    branches:\n      - main\n      - develop\n\njobs:\n  install:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      \n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n          cache: 'npm'\n      \n      - name: Install dependencies\n        run: npm ci\n      \n      - name: Cache node_modules\n        uses: actions/cache@v4\n        with:\n          path: node_modules\n          key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}\n          restore-keys: |\n            ${{ runner.os }}-node-\n\n  lint:\n    needs: install\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      \n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n          cache: 'npm'\n      \n      - name: Install dependencies\n        run: npm ci\n      \n      - name: Run linter\n        run: npm run lint --if-present\n\n  test:\n    needs: install\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      \n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n          cache: 'npm'\n      \n      - name: Install dependencies\n        run: npm ci\n      \n      - name: Run tests\n        run: npm test\n      \n      - name: Upload coverage\n        uses: codecov/codecov-action@v4\n        with:\n          files: ./coverage/lcov.info\n        if: always()\n\n  build:\n    needs: [lint, test]\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      \n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n          cache: 'npm'\n      \n      - name: Install dependencies\n        run: npm ci\n      \n      - name: Build application\n        run: npm run build --if-present\n      \n      - name: Upload build artifacts\n        uses: actions/upload-artifact@v4\n        with:\n          name: build\n          path: dist/\n          retention-days: 1\n\n  deploy:\n    needs: build\n    runs-on: ubuntu-latest\n    if: github.ref == 'refs/heads/main' && github.event_name == 'push'\n    steps:\n      - name: Checkout code\n        uses: actions/checkout@v4\n      \n      - name: Setup Node.js\n        uses: actions/setup-node@v4\n        with:\n          node-version: '18'\n          cache: 'npm'\n      \n      - name: Install Railway CLI\n        run: npm install -g @railway/cli\n      \n      - name: Deploy to Railway\n        run: railway deploy --force\n        env:\n          RAILWAY_TOKEN: ${{ secrets.RAILWAY_TOKEN }}\n","secrets_needed":["RAILWAY_TOKEN"],"triggers_configured":["push","pull_request"],"estimated_run_minutes":8}},"exampleRequest":{"steps":["install","test","build","deploy"],"language":"javascript","triggers":["push","pull_request"],"framework":"express","deploy_target":"railway"},"tags":["x402"],"displayCostAmount":"0.162","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.162/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.162","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.162","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_hemzQG96f0BU0PBGeEUTX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.162","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates production-ready CI/CD workflow YAML files for GitHub Actions, supporting multiple languages, frameworks, and deploy targets like Railway, Vercel, and Fly.","exampleAgentPrompt":"Generate a GitHub Actions CI/CD workflow YAML for my Node.js Express app using the framework 'express', deploying to Railway, with push and pull_request triggers.","exampleUseCases":null,"resultDescription":"Returns a complete, production-ready GitHub Actions YAML workflow file tailored to the specified language, framework, and deploy target, including appropriate build, test, and deploy steps with best practices applied.","failureModes":["Missing required 'language' query parameter returns a validation error","Unsupported language or framework combination may yield a generic or incomplete workflow","Invalid deploy_target value may result in missing deploy step configuration","Payment failure (HTTP 402) if USDC payment is not properly handled","Rate limiting or service unavailability returns 5xx errors"],"whenToPreferThis":"Choose this endpoint when you need to instantly scaffold a GitHub Actions CI/CD workflow without manually writing YAML, especially when targeting popular deploy platforms like Railway, Vercel, or Fly and working with well-known languages and frameworks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-06-01T13:15:32.108Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:59:12.736Z","isFirstParty":false}