Skip to content

Commit

Permalink
Make this simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
bengarvey committed Oct 21, 2024
1 parent d449e06 commit bdb2207
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,5 @@ jobs:
- name: Install dependencies
run: npm install

- name: Run ESLint and output JSON results
run: npx eslint -f json -o eslint-results.json index.html js/lineage.js

- name: Convert ESLint JSON to SARIF
run: npx eslint-sarif-converter eslint-results.json -o eslint-results.sarif

- name: Upload SARIF results to GitHub
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: eslint-results.sarif
- name: Run ESLint
run: npx eslint js/lineage.js index.html

0 comments on commit bdb2207

Please sign in to comment.