Skip to content

ci: add GitHub Actions CI workflow#40

Merged
chrisjwalk merged 2 commits into
mainfrom
ci/github-actions-32
Mar 14, 2026
Merged

ci: add GitHub Actions CI workflow#40
chrisjwalk merged 2 commits into
mainfrom
ci/github-actions-32

Conversation

@chrisjwalk-bot
Copy link
Copy Markdown
Collaborator

Closes #32

Changes

Added .github/workflows/ci.yml:

  • Triggers on push to main and all pull requests
  • PRs use nx affected with origin/$base_ref as base for fast feedback
  • Push to main runs full lint:all, test:all, build:prod
  • Node 24 + pnpm 10 with pnpm store cached via actions/setup-node
  • Cancels in-progress runs on new pushes (concurrency group)
  • Uploads coverage and JUnit test results as artifacts

chrisjwalk-bot and others added 2 commits March 14, 2026 15:09
- Runs on push to main and all pull requests
- PR events use nx affected for faster feedback
- Push to main runs full lint/test/build
- Caches pnpm store via actions/setup-node
- Uploads coverage and test results as artifacts
- Cancels in-progress runs on new pushes (concurrency)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pnpm install runs 'dotnet restore' in preinstall, and test:all/build:prod
both invoke the api project's dotnet executors — all require .NET SDK to
be installed. Add actions/setup-dotnet@v4 (10.0.x) and install
dotnet-coverage global tool before pnpm install, matching the order in
azure-pipelines.yml.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@chrisjwalk-bot
Copy link
Copy Markdown
Collaborator Author

Fix: add .NET SDK setup

The original workflow was missing .NET SDK installation. pnpm install triggers a preinstall hook that runs dotnet restore apps/api, and test:all/build:prod both invoke the api project's dotnet executors — none of that works without .NET.

Added actions/setup-dotnet@v4 (10.0.x) + pnpm dotnet:coverage (installs the dotnet-coverage global tool needed for api test coverage) before pnpm install, matching the step order in azure-pipelines.yml.

@chrisjwalk chrisjwalk merged commit 8991241 into main Mar 14, 2026
1 of 2 checks passed
@chrisjwalk chrisjwalk deleted the ci/github-actions-32 branch March 14, 2026 19:43
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.

ci: add GitHub Actions CI workflow

2 participants