Always upload eslint.sarif

This commit is contained in:
Andrew Eisenberg 2024-09-10 16:01:23 -07:00
parent e817992b3d
commit 0d0f998f28
No known key found for this signature in database

View file

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