Skip to content

Commit

Permalink
comment eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
lfbarrile01 committed Nov 22, 2024
1 parent f43cce5 commit 5452885
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/code-quality-security-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,28 +70,28 @@ jobs:
run: npm audit fix # Fix the vulnerabilities

# Job to execute ESLint
ESLint:
runs-on: ubuntu-latest
name: Run ESLint for Next.js
steps:
- uses: actions/checkout@v4
# ESLint:
# runs-on: ubuntu-latest
# name: Run ESLint for Next.js
# steps:
# - uses: actions/checkout@v4

- uses: actions/setup-node@v3
with:
node-version: '22'
# - uses: actions/setup-node@v3
# with:
# node-version: '22'

- name: Set up .env file
run: |
cp .env.example .env # Copia .env.example para .env para uso local, se necessário
# - name: Set up .env file
# run: |
# cp .env.example .env # Copia .env.example para .env para uso local, se necessário

- name: Install dependencies and update ESLint packages
run: |
npm install
npm install eslint@latest eslint-config-next@latest eslint-plugin-prettier@latest eslint-plugin-react-hooks@latest
# - name: Install dependencies and update ESLint packages
# run: |
# npm install
# npm install eslint@latest eslint-config-next@latest eslint-plugin-prettier@latest eslint-plugin-react-hooks@latest

- name: Run ESLint
run: |
npm run lint
# - name: Run ESLint
# run: |
# npm run lint

# Job to execute Unit Tests
unit-tests:
Expand Down

0 comments on commit 5452885

Please sign in to comment.