Skip to content

ci: add build verification workflow for PRs#238

Merged
Mossaka merged 2 commits into
mainfrom
copilot/add-build-verification-workflow
Jan 17, 2026
Merged

ci: add build verification workflow for PRs#238
Mossaka merged 2 commits into
mainfrom
copilot/add-build-verification-workflow

Conversation

Copilot AI commented Jan 17, 2026

Copy link
Copy Markdown
Contributor

Adds dedicated build verification workflow to catch TypeScript compilation and lint failures early on all PRs.

Changes

  • New workflow .github/workflows/build.yml:
    • Runs npm run lint and npm run build on push/PR to main
    • Tests across Node.js 18, 20, 22 matrix (matches engines: >=18.0.0)
    • Verifies build output exists (dist/cli.js)
    • Uses pinned action SHAs consistent with existing workflows

Making Required

To enforce on PRs, add status checks Build and Lint (Node 18/20/22) to main branch protection rules.

Original prompt

This section details on the original issue you should resolve

<issue_title>[High Priority] Add build verification workflow for PRs</issue_title>
<issue_description>## Context
From CI/CD Pipeline Gap Assessment (Discussion #227)

Description

Extract and enforce build checks on all PRs to catch build failures early before merge.

Acceptance Criteria

  • Create dedicated build verification workflow or extract from existing workflows
  • Run TypeScript compilation (npm run build) on all PRs
  • Make workflow required for PR merges
  • Ensure compatibility check across Node versions if applicable

Estimated Effort

Approximately 1 hour

Related

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Add build verification workflow for PRs ci: add build verification workflow for PRs Jan 17, 2026
Copilot AI requested a review from Mossaka January 17, 2026 04:26
@Mossaka Mossaka marked this pull request as ready for review January 17, 2026 04:28
@github-actions

Copy link
Copy Markdown
Contributor

Test Coverage Report

Metric Coverage Covered/Total
Lines 77.19% 1300/1684
Statements 77.27% 1333/1725
Functions 77.17% 142/184
Branches 69.76% 450/645
Coverage Thresholds

The project has the following coverage thresholds configured:

  • Lines: 38%
  • Statements: 38%
  • Functions: 35%
  • Branches: 30%

Coverage report generated by `npm run test:coverage`

@Mossaka Mossaka merged commit 806f0e9 into main Jan 17, 2026
42 checks passed
@Mossaka Mossaka deleted the copilot/add-build-verification-workflow branch January 17, 2026 08:56
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.

[High Priority] Add build verification workflow for PRs

2 participants