Skip to content

Commit fa97e50

Browse files
Update reactjs_ci_cd.yml
1 parent cc9dcc4 commit fa97e50

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

.github/workflows/reactjs_ci_cd.yml

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,5 @@ jobs:
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

0 commit comments

Comments
 (0)