Skip to content

ci: build and test on pushes to main and on PRs#4

Merged
willhou merged 1 commit into
mainfrom
ci/add-github-actions
Jun 14, 2026
Merged

ci: build and test on pushes to main and on PRs#4
willhou merged 1 commit into
mainfrom
ci/add-github-actions

Conversation

@willhou

@willhou willhou commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Adds a GitHub Actions CI workflow (.github/workflows/ci.yml).

What it does

  • Triggers: every push to main (i.e. merges) and every pull_request event (every commit pushed to a PR).
  • Matrix: Node 20.x and 22.x (no version was pinned in the repo; this covers the active LTS lines).
  • Steps: checkout → setup-node (with npm cache) → npm cinpm run buildnpm test.
  • permissions: contents: read (least privilege) and concurrency cancellation so superseded runs don't waste CI minutes.

Verification

npm ci && npm run build && npm test all pass locally (28 tests). This PR will self-test via the pull_request trigger.

🤖 Generated with Claude Code

Add a GitHub Actions workflow that runs `npm ci`, `npm run build`, and
`npm test` on every push to main and on every pull request, across Node
20.x and 22.x. Uses least-privilege permissions and cancels superseded
runs for the same ref.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admob-mcp Ready Ready Preview, Comment Jun 14, 2026 5:24pm

@willhou willhou merged commit a9f8478 into main Jun 14, 2026
4 checks passed
@willhou willhou deleted the ci/add-github-actions branch June 14, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant