Skip to content

Commit

Permalink
updt
Browse files Browse the repository at this point in the history
  • Loading branch information
mcliff1 committed Nov 9, 2024
1 parent 0a6fb68 commit f6081e9
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,24 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: '14'
node-version: '18'

- name: Install dependencies
run: npm install

- name: Run ESLint
run: npx eslint . -f sarif -o eslint-results.sarif

- name: Upload ESLint results
uses: github/codeql-action/upload-sarif@v1
#run: npx eslint . -f sarif -o eslint-results.sarif
#run: npx eslint .ts.sarif
uses: eslint/github-action@v0
with:
sarif_file: eslint-results.sarif
githubToken: ${{ secrets.GITHUB_TOKEN }}

#- name: Upload ESLint results
# uses: github/codeql-action/upload-sarif@v1
# with:
# sarif_file: eslint-results.sarif

0 comments on commit f6081e9

Please sign in to comment.