Skip to content

Add CI workflow for PR builds#32

Merged
jack-williams merged 3 commits intomainfrom
ci/add-build-workflow
Apr 30, 2026
Merged

Add CI workflow for PR builds#32
jack-williams merged 3 commits intomainfrom
ci/add-build-workflow

Conversation

@jack-williams
Copy link
Copy Markdown
Contributor

Adds a GitHub Actions workflow so every PR gets a build check.

What it does

On each pull request (and pushes to main), the workflow:

  1. Checks out the repo and sets up Node 20
  2. Enables Corepack so the packageManager field (Yarn 4.9.1) is honored
  3. Caches Yarn and Nx for faster subsequent runs
  4. Installs dependencies with yarn install --immutable
  5. Runs yarn prettier:check
  6. Runs yarn typecheck
  7. Runs yarn build

Also supports manual runs via workflow_dispatch.

Why

There is currently no CI on the repo, so PRs (including the open Dependabot bumps) can't be verified automatically. With this in place, the Build & Verify check will appear on every PR and can optionally be made required via branch protection.

Verification

The workflow has already been run successfully on this branch (run completed in 54s — install, prettier:check, typecheck, and build all passed).

Notes

  • Uses only existing scripts from package.json — no new tooling added.
  • concurrency cancels superseded PR runs to save minutes.

Jack Williams and others added 3 commits April 30, 2026 11:18
Adds a GitHub Actions workflow that runs on pull requests and pushes to main. It installs dependencies with Yarn 4 (via Corepack), then runs prettier:check, typecheck, and build using the existing Nx scripts.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jack-williams jack-williams merged commit e9522f5 into main Apr 30, 2026
3 checks 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