Merge pull request #2469 from github/aeisenberg/upload-eslint-sarif

Upload sarif for eslint results
This commit is contained in:
Andrew Eisenberg 2024-09-10 15:51:24 -07:00 committed by GitHub
commit e817992b3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
70 changed files with 18213 additions and 5 deletions

View file

@ -24,7 +24,15 @@ jobs:
uses: actions/checkout@v4
- name: Lint
run: npm run-script lint
run: npm run-script lint-ci
- name: Upload sarif
uses: github/codeql-action/upload-sarif@v3
# Only upload SARIF for the latest version of Node.js
if: matrix.node-types-version == 'current'
with:
sarif_file: eslint.sarif
category: eslint
- name: Update version of @types/node
if: matrix.node-types-version != 'current'