6 front fix revert eslint to v8 #16
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CodeQL" | |
on: | |
pull_request: | |
branches: | |
- develop | |
- main | |
types: | |
- opened | |
- edited | |
- synchronize | |
- reopened | |
permissions: | |
id-token: write | |
contents: read | |
pull-requests: read | |
actions: read | |
security-events: write | |
jobs: | |
CodeQL: | |
runs-on: ubuntu-latest | |
name: Run CodeQL for Next.js | |
timeout-minutes: 360 | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- language: javascript | |
build-mode: none # Se 'none' for realmente necessário, senão altere para o modo correto. | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '22' | |
- name: Install dependencies | |
run: | | |
npm install | |
# - name: Run ESLint (opcional, mas recomendável) | |
# run: | | |
# npm run lint # Se você tem um script lint configurado no seu package.json | |
- name: Build the project | |
run: | | |
npm run build | |
- name: Initialize CodeQL | |
uses: github/codeql-action/init@v3 | |
with: | |
languages: ${{ matrix.language }} | |
build-mode: ${{ matrix.build-mode }} | |
- name: Perform CodeQL Analysis | |
uses: github/codeql-action/analyze@v3 | |
with: | |
category: "/language:${{ matrix.language }}" |