Upload sarif for eslint results
This commit is contained in:
parent
d8b1697e9a
commit
55c72b9aa6
68 changed files with 18214 additions and 1 deletions
13
.github/workflows/pr-checks.yml
vendored
13
.github/workflows/pr-checks.yml
vendored
|
|
@ -24,7 +24,18 @@ 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: Ensure the working directory is clean
|
||||
run: rm -f eslint.sarif
|
||||
|
||||
- name: Update version of @types/node
|
||||
if: matrix.node-types-version != 'current'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue