Skip to content

ci: run lint, tests, build and Docker build on PRs - #75

Merged
johnpc merged 1 commit into
mainfrom
ci/pr-checks
Nov 15, 2026
Merged

johnpc merged 1 commit into
mainfrom
ci/pr-checks

Conversation

@johnpc

@johnpc johnpc commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Summary

Adds .github/workflows/ci.yml, which runs on every pull request and on pushes to main:

  • Lint, test, build: npm ci, npm run lint (ESLint + Prettier), npm test, npm run build
  • Docker build: builds the image for amd64 without pushing it, so a broken Dockerfile or pipx install shows up before a release tag. It reuses the release workflow's GHA cache. arm64 is skipped to avoid the slow QEMU build.

Until now the only workflow was the tag-triggered release, so nothing checked PRs before merge.

Testing

  • npm ci succeeds locally against the current lockfile
  • This PR runs the new workflow on itself

Until now the only workflow was the tag-triggered release, so nothing
checked PRs before merge.
@johnpc
johnpc merged commit 36d0ffa into main Nov 15, 2026
2 checks passed
@johnpc
johnpc deleted the ci/pr-checks branch November 15, 2026 03:31
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