GitHub Actions Starter
Workflow YAML for Node CI, Python pytest, Go, Rust, Docker build/push, or GitHub Pages deploy.
.github/workflows/ci.yml
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run lint --if-present
- run: npm test
- run: npm run build --if-present
</>Use this tool programmaticallycurl · JavaScript · MCP
Same tool, callable from any HTTP client or from Claude (via MCP). Anonymous: 100 req/day per IP. Sign up for 1,000 req/day.
curl
curl https://api.b-e-a-d.com/tools/gh-actions-starter/run \
-H "Content-Type: application/json" \
-d '{
"template": "node-ci",
"branch": "main",
"matrix": ""
}'JavaScript (fetch)
const res = await fetch("https://api.b-e-a-d.com/tools/gh-actions-starter/run", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"template": "node-ci",
"branch": "main",
"matrix": ""
}),
});
const data = await res.json();
console.log(data.result);MCP (Claude Desktop / Claude Code)
# In Claude Desktop / Claude Code, add to your MCP config:
{
"mcpServers": {
"bead": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://mcp.b-e-a-d.com"]
}
}
}
# Then ask Claude to call:
mcp__bead__bead_gh_actions_starterFull reference: developer docs · OpenAPI spec
Action versions
Templates use the current major versions of common actions (checkout@v4, language setup actions @v4/ @v5, docker/build-push-action@v6). Always pin to a SHA in production for supply-chain safety.
Concurrency
The Pages workflow uses a concurrency group so a second push cancels the previous build mid-flight instead of queueing.
You might also like
- .gitignore BuilderPick languages, frameworks, build tools, editors and OS — get a deduped .gitignore.
- .gitignore GeneratorBuild a .gitignore by picking from common language, framework, and OS templates.
- Dockerfile StarterMulti-stage Dockerfiles for Node, Python, PHP, Go, Ruby, Rust, Java, and static sites — plus matching .dockerignore.
- Hashing Snippet GeneratorMD5 / SHA-1 / SHA-256 / SHA-512 / HMAC-SHA256 snippets in Node, browser, Python, PHP, Ruby, Go, Rust, and shell.