Merge pull request #2469 from github/aeisenberg/upload-eslint-sarif
Upload sarif for eslint results
This commit is contained in:
commit
e817992b3d
70 changed files with 18213 additions and 5 deletions
10
.github/workflows/pr-checks.yml
vendored
10
.github/workflows/pr-checks.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue