Skip to content

chore: add precommit and pr action#4

Merged
MrRoiz merged 1 commit intomainfrom
add-precommit-and-actions
Jan 5, 2026
Merged

chore: add precommit and pr action#4
MrRoiz merged 1 commit intomainfrom
add-precommit-and-actions

Conversation

@MrRoiz
Copy link
Copy Markdown
Owner

@MrRoiz MrRoiz commented Jan 5, 2026

No description provided.

Copilot AI review requested due to automatic review settings January 5, 2026 13:40
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Jan 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
guesspy Error Error Jan 5, 2026 1:41pm

@MrRoiz MrRoiz merged commit b50816a into main Jan 5, 2026
5 of 7 checks passed
Copy link
Copy Markdown

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 sets up automated code quality checks by adding a pre-commit hook and GitHub Actions workflow. It also enforces single quotes throughout the codebase by updating the Biome formatter configuration and reformatting all files accordingly.

  • Adds Husky for Git hooks with pre-commit linting and type checking
  • Creates GitHub Actions workflow to validate PRs with linting and type checking
  • Configures Biome to enforce single quote style and applies formatting across all files

Reviewed changes

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

Show a summary per file
File Description
.husky/pre-commit New pre-commit hook running lint and type-check scripts
.github/workflows/prs.yaml New GitHub Actions workflow for PR validation
package.json Adds husky dependency, prepare script, and type-check script
yarn.lock Adds husky@^9.1.7 dependency
biome.json Configures single quote style for JavaScript/TypeScript
tsconfig.json Reformatted to use single quotes and condensed arrays
proxy.js Reformatted with single quotes, added semicolons, and changed let to const
postcss.config.mjs Reformatted to use single quotes
next.config.ts Reformatted to use single quotes
app/**/*.tsx Reformatted with single quotes throughout all component files
app/**/*.ts Reformatted with single quotes in TypeScript utility and store files

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

- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Biome check
run: yarn link
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

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

The command 'yarn link' appears to be incorrect. This command is used to create symlinks for local package development, not to run linting checks. Based on the context and the pre-commit hook, this should be 'yarn lint' to run the Biome linter check.

Suggested change
run: yarn link
run: yarn lint

Copilot uses AI. Check for mistakes.
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