Add check-format script and update lint-js.yml (#2357)

* chore: Add check-format script to package.json for code formatting consistency

* chore: Update lint-js.yml to use npm run check-format instead of npm run format
This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-06-25 14:46:51 -07:00 committed by GitHub
commit 2ed4d54f99
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 7 deletions

View file

@ -45,10 +45,6 @@ jobs:
- name: Run Prettier
run: |
cd src/frontend
npm run format
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Apply Prettier formatting
branch: ${{ github.head_ref }}
npm run check-format