GitHub Actions CI/CD with build, lint, test, deploy stages, Firebase deploy tokens, and branch-based environments
From jm-adknpx claudepluginhub javimontano/jm-adk-alfaThis skill uses the workspace's default tool permissions.
agents/guardian.mdagents/lead.mdagents/specialist.mdagents/support.mdevals/evals.jsonknowledge/body-of-knowledge.mdknowledge/knowledge-graph.mdprompts/meta.mdprompts/primary.mdprompts/variations/deep.mdprompts/variations/quick.mdtemplates/output.docx.mdtemplates/output.htmlSearches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Automate the build-lint-test-deploy lifecycle using GitHub Actions. Every commit is validated, every PR gets a preview deployment, and every merge to main triggers production deploy to Firebase. [EXPLICIT]
.github/workflows/ — versioned, reviewed, and tested like application code. No manual CI configuration. [EXPLICIT].github/workflows/ci.yml with jobs: lint, test, build, deploy. [EXPLICIT]node_modules via actions/cache keyed on package-lock.json hash. [EXPLICIT]firebase login:ci → store as FIREBASE_TOKEN secret. [EXPLICIT]firebase hosting:channel:deploy pr-${{ github.event.number }}. [EXPLICIT]firebase deploy --only hosting,functions --token $FIREBASE_TOKEN. [EXPLICIT]actions/github-script. [EXPLICIT]npm run lint — fail fast on lint errors. [EXPLICIT]npm run test:unit -- --coverage + firebase emulators:exec "npm run test:integration". [EXPLICIT]npm run build — fail if TypeScript errors or build warnings. [EXPLICIT]main → prod, PR → preview). [EXPLICIT]| Input | Output |
|---|---|
| Git push / PR event | Pipeline execution (lint → test → build → deploy) |
FIREBASE_TOKEN secret | Authenticated Firebase deploy |
| PR branch | Preview channel URL posted as comment |
| Main branch merge | Production deployment to Firebase |
${{ secrets.* }}, never echo secrets. [EXPLICIT]firebase deploy to production. [EXPLICIT]retry-action max 2 attempts. Investigate root cause.concurrency group to cancel outdated deployments.echo statements.Example invocations: