Skip to content

ci: ビルド・型チェック・Lintワークフロー追加#71

Merged
KinjiKawaguchi merged 2 commits intodevelopfrom
feat/ci-workflows
Feb 1, 2026
Merged

ci: ビルド・型チェック・Lintワークフロー追加#71
KinjiKawaguchi merged 2 commits intodevelopfrom
feat/ci-workflows

Conversation

@KinjiKawaguchi
Copy link
Copy Markdown
Member

Summary

PR・push時に実行されるCIワークフローを追加

  • build.yml: ビルド確認
  • typecheck.yml: TypeScript型チェック
  • lint.yml: Biomeによるlint

トリガー

  • main/developへのpush
  • main/develop向けのPR

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings February 1, 2026 08:55
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds three CI workflows to automate quality checks on pull requests and pushes to the main and develop branches. The workflows verify that the codebase builds correctly, passes TypeScript type checking, and conforms to linting standards using Biome.

Changes:

  • Added build verification workflow that runs npm run build
  • Added type checking workflow that runs npm run typecheck
  • Added linting workflow that runs Biome checks

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/build.yml Verifies the project builds successfully using tsup
.github/workflows/typecheck.yml Validates TypeScript types using tsc --noEmit
.github/workflows/lint.yml Checks code quality and formatting using Biome

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/lint.yml Outdated
node-version: '22.x'
cache: 'npm'
- run: npm ci
- run: npx biome check .
Copy link

Copilot AI Feb 1, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider adding a "lint" script to package.json and using "npm run lint" here for consistency with the other workflows (build.yml and typecheck.yml), which use npm scripts. This would also make it easier for developers to run the same command locally. For example, add "lint": "biome check ." to the scripts section of package.json.

Suggested change
- run: npx biome check .
- run: npm run lint

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

KinjiKawaguchi and others added 2 commits February 1, 2026 18:09
- build.yml: ビルド確認
- typecheck.yml: 型チェック
- lint.yml: Biomeによるlint

PR・push時に並列実行される

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add lint, lint:ci, format scripts to package.json
- Use npm run lint:ci in CI for proper CI output

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@KinjiKawaguchi KinjiKawaguchi merged commit 39f9aec into develop Feb 1, 2026
3 checks passed
@KinjiKawaguchi KinjiKawaguchi deleted the feat/ci-workflows branch February 1, 2026 09:10
@KinjiKawaguchi KinjiKawaguchi mentioned this pull request Feb 1, 2026
KinjiKawaguchi added a commit that referenced this pull request Mar 23, 2026
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
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.

2 participants