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:
parent
4faf84ebee
commit
2ed4d54f99
2 changed files with 4 additions and 7 deletions
8
.github/workflows/lint-js.yml
vendored
8
.github/workflows/lint-js.yml
vendored
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue