File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 2727 cd frontend # Navigate to the frontend directory
2828 npm install # Install the frontend dependencies from `frontend/package.json`
2929
30- - name : Run ESLint and auto-fix syntax/style errors
31- run : npx eslint --config ./frontend/eslint.config.js --fix frontend
32-
33- # Applies syntax/style fixes from ESLint as a commit
34- - name : Commit and push changes
35- run : |
36- git config --global user.name "GitHub Actions"
37- git config --global user.email "actions@github.com"
38- git add .
39- git commit -m "Auto-fix ESLint issues"
40- git push
41- env :
42- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
30+ - name : Run ESLint # Finds syntax/style errors
31+ run : npx eslint --config ./frontend/eslint.config.js frontend
You can’t perform that action at this time.
0 commit comments