Skip to content

Conversation

@FiestaTheNewbieDev
Copy link
Contributor

No description provided.

@FiestaTheNewbieDev FiestaTheNewbieDev self-assigned this Jul 26, 2025
@FiestaTheNewbieDev FiestaTheNewbieDev added the enhancement New feature or request label Jul 26, 2025
Copy link

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 implements continuous integration with GitHub Actions to automate code quality checks and builds. It also adds pre-commit hooks with Husky to ensure code quality before commits.

  • Adds GitHub Actions CI workflow for linting and building on PR/push events
  • Configures Husky with pre-commit hooks and lint-staged for automated code formatting
  • Updates ESLint configuration to be more strict and splits lint commands for CI vs local development

Reviewed Changes

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

File Description
package.json Adds Husky and lint-staged dependencies, splits lint commands, and configures lint-staged rules
eslint.config.mjs Enables stricter TypeScript linting rules including explicit any warnings
.husky/pre-commit Creates pre-commit hook to run lint-staged automatically
.github/workflows/ci.yml Defines CI workflow with lint and build jobs for pull requests and main branch pushes

build:
name: Build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads.main' && github.event_name == 'push'
Copy link

Copilot AI Jul 26, 2025

Choose a reason for hiding this comment

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

The condition uses 'refs/heads.main' but should be 'refs/heads/main' (missing forward slash). This will prevent the build job from running on main branch pushes.

Suggested change
if: github.ref == 'refs/heads.main' && github.event_name == 'push'
if: github.ref == 'refs/heads/main' && github.event_name == 'push'

Copilot uses AI. Check for mistakes.
@FiestaTheNewbieDev FiestaTheNewbieDev merged commit cc6f0c3 into main Jul 26, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants