Skip to content

ci: add GitHub Action to check code formatting with Prettier#34

Closed
vansh2408 wants to merge 1 commit into
maitri-vv:mainfrom
vansh2408:ci/add-prettier-formatting-check
Closed

ci: add GitHub Action to check code formatting with Prettier#34
vansh2408 wants to merge 1 commit into
maitri-vv:mainfrom
vansh2408:ci/add-prettier-formatting-check

Conversation

@vansh2408
Copy link
Copy Markdown

Pull Request Title Convention

Added a GitHub Actions workflow to automatically check all JavaScript (.js) and CSS (.css) files for proper formatting using Prettier.

  • [CI/CD]: Add code formatting check with Prettier

🎯 What issue does this address?

Closes #12

✨ What does this change?

  • Initialized package.json for project-level dependency management.
  • Installed Prettier as a dev dependency.
  • Added a format:check npm script to validate code formatting.
  • Created .github/workflows/formatting.yml to automate Prettier checks on every push and pull request.

Checklist:

  • New functionality meets the goals defined in the linked issue.
  • If changing the UI or game experience, screenshots or a GIF are included below.
  • Code is formatted cleanly (ran Prettier/ESLint locally).
  • All CI/CD checks in this PR passed.
  • Game mechanics work correctly (blocks stack, physics behave properly).
  • Performance is maintained (no frame drops or lag introduced).
  • Mobile/touch controls still function properly.
  • Game resets correctly with 'R' key.

@vercel
Copy link
Copy Markdown

vercel Bot commented Oct 15, 2025

@vansh2408 is attempting to deploy a commit to the Maitri Vaghasiya's projects Team on Vercel.

A member of the Team first needs to authorize it.

@maitri-vv
Copy link
Copy Markdown
Owner

@vansh2408 Thanks for the efforts but its failing
image

I anyways dont want dependencies to get involved so i m closing the issue permanently, if u wish u can work on some other issues

@maitri-vv maitri-vv closed this Oct 15, 2025
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/CD] Automate Code Formatting with Prettier Check 💅

2 participants