Skip to content

ci: add GitHub Actions workflow (typecheck, test, build)#1

Merged
grrowl merged 1 commit into
mainfrom
ci/github-actions
Jun 1, 2026
Merged

ci: add GitHub Actions workflow (typecheck, test, build)#1
grrowl merged 1 commit into
mainfrom
ci/github-actions

Conversation

@grrowl
Copy link
Copy Markdown
Owner

@grrowl grrowl commented Jun 1, 2026

Adds CI on GitHub Actions — the repo had none.

What

A single build job on push/pull_request to main that runs the existing npm scripts:

  • npm ci
  • npm run typecheck
  • npm test (139 tests, inside workerd via @cloudflare/vitest-pool-workers)
  • npm run build

Notes

  • No Cloudflare secrets requiredvitest-pool-workers provisions miniflare/workerd locally.
  • actions/checkout@v6 + actions/setup-node@v6 (current majors), Node 24 (matches local; runner default from 16 Jun 2026).
  • cache: npm set explicitly — setup-node@v6 only auto-caches when package.json has a packageManager field, which this repo doesn't.
  • permissions: contents: read (least privilege) and cancel-in-progress concurrency to drop superseded PR runs.

Verified all three steps green locally before pushing.

🤖 Generated with Claude Code

Single job on push/PR to main running the existing npm scripts on Node 24.
Tests run inside workerd via vitest-pool-workers, so no Cloudflare secrets
are needed. checkout@v6 / setup-node@v6 (current majors). npm cache enabled
explicitly since there is no packageManager field. Least-privilege perms and
cancel-in-progress concurrency.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@grrowl grrowl merged commit e4fa65b into main Jun 1, 2026
1 check passed
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